🌍 Public
Viewing a saved revision (read-only)
23e93e9f20e145c2bac0478b7db1961a
Fork of Loading and Parsing CSV Data
This example displays summary statistics from a CSV file containing CSS Named Colors, showing the file size in kilobytes, the number of rows, and the number of columns in a large monospaced text block. The code loads the remote CSV using `d3.csv` and processes the parsed data with `d3.csvFormat` and the `data.length` and `data.columns` properties. Alternate commented approaches demonstrate fetching the raw text with the Fetch API and parsing it via `d3.csvParse`, as well as an older promise-chain pattern.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: