🌍 Public
Viewing a saved revision (read-only)
bff0572903af4dfd9b28508d002f7586
Summarizing Coronavirus Data
This visualization summarizes global COVID-19 deaths by displaying a single large number computed from the Johns Hopkins Coronavirus Dataset. It shows the total death count and the latest date column from the dataset. The code uses D3 v7’s `d3.csv` to load the data, then applies array methods like `map` and `reduce` to sum all values. It formats the result with D3’s `format` function before inserting the message into the page via `document.getElementById`.
AI-generated descriptionThis program loads and parses the Johns Hopkins Coronavirus Dataset