Skip to main content
100%

Loading Data with React and D3

✓ Published1🌍 Public
AA
Last edited Jul 13, 2021
Created on Jul 13, 2021
Forked from Mouse Follower

This example demonstrates how to load and summarize a CSV dataset in a React application using D3. The interface displays a plain-text report showing the file size in kilobytes, row count, and column count. The code uses React’s `useState` and `useEffect` hooks to fetch data via `d3.csv` from a GitHub gist containing CSS named colors, then formats the result with `d3.csvFormat`. The SVG markup in the HTML file is commented out and unused.

AI-generated description

Loading Data with React and D3

MIT Licensed

Similar vizzes