Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

3b4ef1a92def4bbaae874201a6c61674

Loading and Parsing CSV Data

0 stars0🌍 Public
LLem Dulfo
Last edited Mar 9, 2021
Created on Mar 8, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data with D3 v6, displaying summary statistics about a remote dataset of CSS named colors. It uses `d3.csv` to fetch the file from a GitHub gist, then reports the formatted data size in kilobytes, row count, and column names in a pre element on a papaya-colored page. A commented-out alternative shows the equivalent workflow using the Fetch API with `async/await` and `d3.csvParse`.

AI-generated description

A program that loads and parses some CSV data.