Skip to main content
100%

Summarizing Coronavirus Data

✓ Published0🌍 Public
AAlex Stulov
Last edited Jul 27, 2021
Created on Jul 27, 2021

This visualization summarizes the global death toll from the COVID-19 pandemic, displaying a text message that reports the total number of deaths and the most recent date in the dataset. The code uses React with hooks to fetch and manage data, and D3 v7’s `csv` and `format` functions to load and parse the Johns Hopkins Coronavirus Dataset. It calculates the sum of the latest column of death counts across all countries and formats the result with comma separators. The display updates from a loading state to the final summary once the data arrives.

AI-generated description

Line chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.

MIT Licensed

Similar vizzes