Skip to main content
100%

Loading data with React & D3

✓ Published1🌍 Public
11tang
Last edited Mar 28, 2021
Created on Mar 28, 2021
Forked from Mouse follower

This example demonstrates a minimal React & D3 workflow for fetching and summarizing a remote CSV dataset. It loads the CSS named colors data from a GitHub gist using D3’s `csv` function, then stores the parsed result in React state via `useState` and `useEffect`. The rendered output is a `<pre>` element that displays a text summary—file size in kilobytes, row count, and column count—computed through the custom `message` function using `d3.csvFormat`.

AI-generated description

A program that oads in data using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes