Skip to main content
100%

loading and parsing CSV data

✓ Published0🌍 Public
BBrian Machado
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote URL using D3 v7. It fetches a dataset of CSS named colors via `d3.csv()`, then displays summary statistics in a large HTML `<pre>` element. The output shows the data size in kilobytes, the number of columns, and the number of rows, calculated with `d3.csvFormat()`. The page also includes a separate `fetch()` function for retrieving raw text, though it is not actively used in the final visualization.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes