🌍 Public
Viewing a saved revision (read-only)
bd07491c528144b89fdb034b1b923bba
Fork of Loading and Parsing CSV Data
This example demonstrates how to load and parse CSV data using D3 v7, displaying a summary of the dataset’s size, row count, and column count in a large text element. It fetches a remote CSV file containing CSS named colors via `d3.csv`, which returns a promise, and then chains `.then()` to format the results using `d3.csvFormat`. The parsed data is measured in kilobytes, rows, and columns, with the final message rendered into the DOM.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: