Skip to main content
100%

Loading Data with React & D3

✓ Published0🌍 Public
Sspace-captain96
Last edited Jun 21, 2022
Created on Jun 21, 2022
Forked from Mouse Follower

This example demonstrates loading external data through the D3 utility `d3.csv`, which fetches a CSV file from a GitHub Gist and stores the result in React state via the `useState` and `useEffect` hooks. Once the data arrives, the app renders a `<pre>` element displaying summary statistics in the browser, including file size in kilobytes, row count, and column count. The visualization uses React for state management and D3 v5 for CSV parsing, with the output shown as plain text rather than a chart.

AI-generated description

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

MIT Licensed

Similar vizzes