Skip to main content
100%

Loading data with React

✓ Published0🌍 Public
YYasmina Adimy
Last edited Oct 21, 2022
Created on Oct 21, 2022
Forked from Mouse Follower

This example shows how React loads and summarizes a CSV file of CSS named colors. The app uses React hooks, including `useState` and `useEffect`, to fetch data with `d3.csv` and display a text message with row count, column count, and file size in kilobytes. Before the data arrives, the interface shows a "Loading" state. The visualization is rendered as SVG-free HTML text via ReactDOM, with libraries React 16.9 and d3.v7 loaded from CDN.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes