I've read several Threads here on d3.js and JSON, I could not fix my problem though.
Please see the picture attached. I'm working with Vaadin and integrated d3.js into my project. I now owuld like to display a forced graph with d3.js, using a local graph.json file.
All code works - except accessing the .json file. The webapplication/website is displayed correctly, but the graph is empty/not there. I assume the error lays somewhere here:
d3.json("graph.json", function(error, graph) {...}
I'd appreciate any help. (inb4 new to javascript)