score:0

Accepted answer

You don't need to call d3.json in this case -- in the example code you've posted, treeData holds the parsed JSON. If you have that already, all you need to do is call the variable you store it in treeData.


Related Query