Summarizing Coronavirus Data
✓ Published0🌍 Public
This example displays a single, large-text summary of the total global COVID-19 deaths from the Johns Hopkins Coronavirus Dataset, along with the most recent date column in the time-series data. It loads the CSV via `d3.csv` and uses `d3.format` to insert comma separators into the summed death count. The code iterates through each country row, converts the latest date’s value to a number, and reduces them with a simple accumulator function before updating the DOM’s text content.
AI-generated descriptionThis program loads and parses the Johns Hopkins Coronavirus Dataset
MIT Licensed