🌍 Public
Viewing a saved revision (read-only)
faf0c95fd8f542da8f7af1576b9769c9
Fork of Loading and Parsing CSV Data
This example demonstrates how to load and parse CSV data using D3’s `d3.csv` method, fetching a dataset of CSS named colors from a GitHub gist. It displays the file size in kilobytes, the row count, and the column count in a large `<pre>` element. The code relies on the Fetch API and async functions to retrieve the text, while D3 handles parsing and formatting the data, with all results rendered directly into the DOM.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: