🌍 Public
Viewing a saved revision (read-only)
08e5c9659c5a4ca8a6510ab8e6d1799a
Fork of Loading and Parsing CSV Data
This example demonstrates loading and parsing CSS Named Colors CSV data from a GitHub gist, displaying summary statistics about the dataset as large text on a blank page. The code uses the D3 v5 `d3.csv` method with a promise to fetch the remote CSV file, then computes and reports the formatted data size in kilobytes, the total row count, and the number of columns. The resulting message is rendered into a `<pre>` element using the DOM API `textContent`.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: