Skip to main content
100%

Fork of Mouse Follower

✓ Published0🌍 Public
Mmaciekbanas
Last edited May 12, 2021
Created on May 12, 2021
Forked from Mouse Follower

This example displays a minimal text summary of a COVID-19 deaths dataset. The React component fetches a CSV file from the Johns Hopkins CSSEGISandData repository and uses D3’s `csv` function to parse it. The resulting `data` object is passed to a custom `message` function, which computes and renders the file size in kilobytes, row count, and column count. The output updates dynamically through React’s `useState` and `useEffect` hooks, initially showing a “loading…” placeholder. D3’s `csvFormat` is used to measure the file size.

AI-generated description

A program that loads data with the use of D3 and React.

MIT Licensed

Similar vizzes