🌍 Public
Viewing a saved revision (read-only)
23ce311ec1af407c8a139b8872ce085e
Fork of Loading and Parsing CSV Data
This example loads CSS named colors from a CSV file and displays a summary of the dataset’s size, row count, and column count. It uses both the `d3.csv` and `d3.csvFormat` methods to parse and measure the data, while also demonstrating an alternative approach with the Fetch API and async/await to retrieve raw text. The visualization outputs the statistics as plain text in a large HTML `<pre>` element, highlighting different ways to load and parse tabular data.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: