block by d3noob 8329447

D3.js tree diagram generated from external (JSON) data

Full Screen

This is a simple d3.js tree diagram that loads an external data file as used as an example in the book D3 Tips and Tricks.

It is derived from the Mike Bostock Collapsible tree example but it is a VERY cut down version without the ability to update (collapse).

index.html

treeData.json