Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Parsing with D3

Public visualization

Viewing a saved revision (read-only)

c9047c0ed7244ae483c3cef31e4ada82

Parsing with D3

0 stars1🌍 Public
Jjunxiangyao
Last edited Oct 28, 2020
Created on Oct 28, 2020

This example shows a web page that displays metadata about a CSV file of CSS named colors, fetched from a GitHub gist. It uses d3.csv to load and parse the data asynchronously, then reports the data’s size in kilobytes, the number of rows, and the number of columns by calling `d3.csvFormat` and accessing `data.columns`. The page also demonstrates a parallel `fetch` request to log the raw text, and the final message is rendered using React into the document body.

AI-generated description

A bare minimum HTML page.

See also React Starter.