I have an html-file with several d3-graphs directly written in script tags into it. When I outsource one of the graphs into an external js file I get this message \"NS_ERROR
Specify your .json file relative to your .html file root
Ex:
d3.json("js/forcetree.json", function(json) { root = json; update(); });