All examples By author By category About

d3noob

Collapsible Tree data loading experiment

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.