Skip to main content
100%

Loading data with React and D3

✓ Published0🌍 Public
KKakeyaK
Last edited Jul 16, 2022
Created on Jul 16, 2022

This example displays a loading screen that reports the size, row count, and column count of a CSV dataset once it is fetched. The implementation uses React's `useState` hook within an `App` component, while the asynchronous data retrieval relies on D3’s `d3.csv` method, pulling from a remote gist containing CSS named colors. Upon completion, the `d3.csvFormat` API calculates the data’s byte size, and the result is rendered inside an HTML `<pre>` element.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes