Summarizing Coronavirus Data
✓ Published0🌍 Public
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 descriptionLine chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.
MIT Licensed