🌍 Public
Viewing a saved revision (read-only)
99ebe9972137459d9e5f21ff1f067a13
Loading and Parsing Corona Virus Data
This example demonstrates loading and parsing a CSV file containing CSS named colors from a GitHub gist. It displays three summary metrics in a large text block: the file size in kilobytes, the number of rows, and the number of columns. The code uses `d3.csv` with a promise to fetch and parse the data, and also includes commented alternatives using `fetch`, `async`, and `await` with `d3.csvParse`. The result is rendered as plain text inside a pre element.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: