Relative Content

Tag Archive for d3.jstopojson

Fetch to fail error with local json and tsc file in JS (with d3)

I’m relatively new with JavaScript and D3. I’m trying to visualize data in a d3 map using my own TopoJson file (it could be false, but thats not the issue). Right now, my program is not able to fetch the local json and tsv (Failed to fetch error on debug consol). I ideas, how i can modify the code, so that i can use the local files? Thanks for your help!!