I am trying out d3 as a tool for representing biological data.
I am trying to open the following example in my chrome browser so that I can understand how it works
Had the same exact error. The solution is pretty simple: You are not providing a JSON object array. You said your JSON begun as follows:
{ "name": "flare", "children": [ ...
Please change so change is begins as follows:
[{ "name": "flare", "children": [ ...}]
That way D3 will be able to locate the "first child
"