score:0

Accepted answer

Start with

d3.json("file.json", function (error, data) {
        console.log(d3.values(data)); // check data in console
        // loop through JSON data
        data.forEach(function (d) {          
            d.value = +d.value;
        });

check out this book, it's free and gives a great intro to D3 charts D3-Tips-and-Tricks


Related Query

More Query from same tag