Collapsible tree visualisation template.
Edit index.html
, and modify the JavaScript object at var root
(line 31
) to input your data. Save the file. Open the file in a browser - if you are not connected to the Internet, you will need to download the D3 library and relink it at line 28
.
Visualisation code is directly lifted from Mike Bostock's D3 Collapsible Tree Demo.