Skip to main content
100%

Loading data with react & d3

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

This example demonstrates how to load and summarize CSV data within a React application using D3 utilities. The interface displays a simple text report showing the data’s file size in kilobytes, row count, and column count. The code relies on React’s `useState` and `useEffect` hooks to manage the loading state, alongside D3’s `d3.csv` to fetch the remote dataset. The concise output is generated through a custom `d3.csvFormat` call within a helper module.

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