Summarizing Coronavirus Data
✓ Published0🌍 Public
This example displays a single, large numeric summary of global COVID-19 deaths, updating in real time from the Johns Hopkins time-series dataset. It shows the total death count and the most recent date column, formatted with commas. The code uses d3.csv to load the data, then applies the array map and reduce methods to sum the latest column’s values, and d3.format to create the comma separator. The result is inserted into a pre element via the DOM’s textContent property.
AI-generated descriptionThis Program loads and parses the Johns Hopkins Coronavirus Dataset.
MIT Licensed