Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data (orobor0s)

Public visualization

Viewing a saved revision (read-only)

4d1a613cca5e4caaa3a427eaccaa3464

Loading and Parsing CSV Data (orobor0s)

0 stars0🌍 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