Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This visualization demonstrates how to load and parse CSV data using D3 v7, displaying basic statistics about the dataset in a large text format. The example fetches a CSV file containing CSS named colors from a GitHub Gist, then uses `d3.csv` to parse it asynchronously and `d3.csvFormat` to measure the raw data size. It outputs the file size in kilobytes, the total row count, and the number of columns into a `<pre>` element. The code also includes commented alternatives using `fetch` with `async`/`await` and `d3.csvParse` for manual text parsing.
AI-generated descriptionA program that loads and parses some CSV data
MIT Licensed