Small convenience function to convert the list of list as required by networkD3 to JSON format.
1 | jsonify(hierarchy_as_list)
|
hierarchy_as_list |
Hierarchy as a list of lists |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.