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