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 3:python -m http.server 8080
Python 2:python -m SimpleHTTPServer 8080
-
URL: localhost:8080/collapsible_tree.html