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)

435cadfeff8641faae34dfafb0f57a0b

Loading and Parsing CSV Data

0 stars0🌍 Public
LLucyI
Last edited Nov 17, 2021
Created on Nov 16, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data with D3. It displays a summary message showing the data size in kilobytes, row count, and column count. The code uses `d3.csv` to fetch and parse a remote CSV file containing CSS named colors from a GitHub gist. It also calculates the formatted data length with `d3.csvFormat` and accesses rows and columns through the parsed data object’s `length` and `columns` properties.

AI-generated description

A program that loads and parses some CSV data.