score:0

You need to have the JSON file reachable on your host. If it is at the root of the host then d3.json("testfin.json") should work, alternatively correct path will depend on your folder structure. I suggest you download the gist https://gist.github.com/mbostock/4063269/download and have a look how it works in the example you refer to.


Related Query