Example of displaying data in a collapsible tree using D3.js
https://kyhau.github.io/d3-collapsible-tree-demo/collapsible_tree.html.
-
Copy
collapsible_tree.html
andinput_graph_tree.json
to the same folder. -
Run
python -m SimpleHTTPServer 8080
-
URL: localhost:8080/collapsible_tree.html