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