Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This example demonstrates how to load and parse CSV data from a remote source using D3 v5. It displays the file size in kilobytes, the number of data rows, and the number of columns derived from the CSS Named Colors dataset. The primary implementation uses `d3.csv` with a promise to fetch and parse the data, while commented-out alternatives show `fetch` with `async`/`await` and `d3.csvParse`. A large `pre` element renders the summary statistics as text.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed