Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This example displays summary statistics about the CSS Named Colors dataset, showing the file size in kilobytes, the number of data rows, and the number of columns. It loads the CSV from a GitHub Gist using the `d3.csv` method, which returns a promise, and then formats the result with `d3.csvFormat` and `data.columns`. The code also includes commented-out alternatives using `fetch`, `async`/`await`, and `d3.csvParse` to demonstrate different parsing strategies, highlighting the modern promise-based workflow.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed