🌍 Public
Viewing a saved revision (read-only)
515533e2dc9a4d10bbd45ce77166d099
Convert csv to json using d3
This example demonstrates converting a CSV file into JSON using the D3.js library. It loads survey data from a GitHub gist, transforms each row into an object containing the properties "broers" and "zussen", and logs the resulting JSON array to the browser console. The code uses d3.csv with a row-accessor function to parse and reshape the data. The page displays the title "Convert csv to json using d3" with no visual chart, focusing solely on the data conversion process.
AI-generated description