Skip to main content
100%

Loading Data with React and D3

✓ Published0🌍 Public
MMadNietzsche
Last edited Jul 20, 2021
Created on Jul 20, 2021
Forked from Mouse Follower

This example demonstrates how to load and summarize CSV data using React and D3. It fetches a dataset of CSS named colors from a GitHub gist, then displays a message showing the file size in kilobytes, the number of rows, and the number of columns. The app uses React's `useState` and `useEffect` hooks to manage the data loading, while D3's `csv` function retrieves and parses the remote CSV file. The result is rendered as text within an SVG-ready page, with the data formatted via `d3.csvFormat`.

AI-generated description

A program that loads in some data using React

MIT Licensed

Similar vizzes