Summarizing Coronavirus Data
✓ Published0🌍 Public
This example displays the total number of global COVID-19 deaths as a large numeric counter, updated to the latest date in the Johns Hopkins time-series dataset. It loads the CSV data using d3.csv, extracts the final column, sums its values with JavaScript’s reduce method, and formats the result with d3.format. The comma-separated total and date are rendered as plain text in a pre element, with no charts or interactive elements.
AI-generated descriptionThis program loads and parses the Johns Hopkins Coronavirus Dataset.
MIT Licensed