Skip to main content
100%

Loading and Parsing Corona Virus Data

✓ Published0🌍 Public
KKazushige Okuma
Last edited Oct 30, 2021
Created on Oct 30, 2021

This example displays the total number of global COVID-19 deaths from the Johns Hopkins time series dataset, formatted with commas and labeled with the latest date column. It renders the result in a large red `<pre>` element. The code uses React 16.9 with hooks (`useState`, `useCallback`, `useEffect`) and D3 v7’s `csv` and `format` functions to fetch and parse the data, then reduces the last column values to calculate the sum.

AI-generated description

This program loads and paarses Johns Hopkins Covid19 Datasets

MIT Licensed

Similar vizzes