d3.json with local file code example Example: d3 not reading json d3.json("file.json").then(function(data){ console.log(data)});