block by d3noob 8273682

Collapsible Tree data loading experiment

Full Screen

An example file to go alongside a question asked on Stack Overflow as to how to load a JSON array from an internal array rarther than import it as a file. The example here is a combination of Mike Bostocks Collapsible Tree example and a question asked on Stack Overflow on how to generate multi-level JSON formatted data.

index.html

example.json