Skip to main content
100%

loading data with react and d3

✓ Published1🌍 Public
Vvijaytayal
Last edited Sep 6, 2021
Created on Sep 5, 2021
Forked from Mouse follower

This example demonstrates a minimal React and D3 integration that loads a CSV file of CSS named colors from a GitHub gist. The interface displays a simple loading message, then presents summary statistics about the loaded dataset, including its size in kilobytes, row count, and column count. Using React’s `useState` and `useEffect` hooks, the application triggers D3’s `csv` function to fetch and parse the remote data. The parsed result is then passed to a custom message module that employs D3’s `csvFormat` to calculate the data’s byte length for the final display.

AI-generated description

Smiley face implementation with React & D3.

MIT Licensed

Similar vizzes