Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Loading and Parsing CSV Data

0 stars0🌍 Public
LLaura Jackson
Last edited Dec 19, 2021
Created on Dec 19, 2021
Forked from Hello HTML

This example demonstrates a minimal workflow for loading and parsing a CSV file using D3. It fetches a remote dataset of named colors from a GitHub Gist, parses the text with the `d3.csvParse` API, and displays the result in a large `<pre>` element. The visualization shows the number of columns and rows extracted from the data, rendered via DOM text content. The code uses the Fetch API and D3's `csvParse` from D3 v7, providing a compact, practical demonstration of CSV ingestion.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed