Skip to main content
100%

Loading and Parsing CSV Data (orobor0s)

✓ Published0🌍 Public
BBen
Last edited Jul 31, 2023
Created on Jul 22, 2023
Forked from HTML Starter

This example demonstrates the result of loading and parsing a CSV file of CSS color names. The visualization displays three key statistics about the parsed dataset: its size in kilobytes, the number of data rows, and the number of columns. The program retrieves the remote CSV using the `fetch` API and then parses it with D3’s `d3.csv` method. The resulting data object is formatted back into text with `d3.csvFormat`, and the summary metrics are computed and rendered directly into an HTML `<pre>` element.

AI-generated description

A program that loads and parses some CSV data

MIT Licensed

Similar vizzes