Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and parsing data

Public visualization

Viewing a saved revision (read-only)

16503b6b194a402ab07670878c16df2b

Fork of Loading and parsing data

0 stars0🌍 Public
MMalcolm Mead
Last edited Jan 14, 2022
Created on Jan 14, 2022

This example demonstrates two methods for loading and parsing a CSV file containing CSS named colors. The page displays byte counts, row counts, and column counts from the dataset in large text. One method uses `d3.csv` to fetch and parse the data asynchronously, while the other uses the browser’s native `fetch` API with `d3.csvParse` to handle the raw text. Both approaches output the same summary statistics, highlighting the equivalence between D3’s convenience wrapper and lower-level parsing.

AI-generated description

A bare minimum HTML page.