🌍 Public
Viewing a saved revision (read-only)
716b67adc4994d789ddfdccf6ae3fa5c
Gaffel_Loading and Parsing CSV Data
This example demonstrates how to load and parse CSV data using both the `d3.csv` method and the Fetch API with `async`/`await` plus `d3.csvParse`. It displays the size in kilobytes, row count, and column count of the CSS Named Colors dataset from a GitHub gist. The interface is a single `<pre>` element updated via `textContent` in plain text. Both parsing approaches produce identical results, while commented code shows a nested Promise pyramid for comparison.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: