Skip to main content
100%

Loading data with react and d3

✓ Published0🌍 Public
GGulshan kumar
Last edited May 6, 2021
Created on May 6, 2021
Forked from Mouse follower

This example demonstrates how to load data from an external CSV file in a React application integrated with D3, displaying a summary of the loaded dataset. It shows a text-based message that updates from a loading state to a report of the data’s size in kilobytes, row count, and column count once the CSV is fetched using the `d3.csv` function. The React app uses the `useState` and `useEffect` hooks to manage asynchronous data loading, while `d3.csvFormat` calculates the byte size of the formatted data, and `d3.min` is not used here, but the data comes from a raw GitHub gist URL.

AI-generated description

Basic face part one

MIT Licensed

Similar vizzes