Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing Corona Virus Data

Public visualization

Loading and Parsing Corona Virus Data

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed