🌍 Public
Fork of Fork of csv fetching csv file and reading columns
NNita
Last edited May 2, 2021
Created on May 2, 2021
This example demonstrates the process of fetching and parsing a CSV file using D3.js version 6. It loads a small genealogical dataset from `data.csv` containing name and parent columns, then logs the parsed data structure to the browser console. The visualization uses `d3.csvParse` to convert the raw CSV text into an array of JavaScript objects, showing how column headers become object properties. The page itself is a minimal HTML document with a centered, large-font body, though no visual output is rendered—the focus is purely on data loading and console inspection through the D3 library.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed
Comments
Sign in to join the discussion.