Skip to main content
100%

Parsing with D3

✓ Published1🌍 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.

MIT Licensed

Similar vizzes