🌍 Public
Viewing a saved revision (read-only)
11911933b1ed45eea5430ebcf6c476d8
Summarizing Coronavirus Data
This example summarizes the global COVID-19 death toll from the Johns Hopkins Coronavirus Dataset. It loads the CSV file with `d3.csv`, extracts the last date column, sums all reported deaths using `Array.reduce`, and formats the total with `d3.format`. The resulting number and date are displayed as large text in a `<pre>` element, offering a concise numeric snapshot of cumulative deaths.
AI-generated descriptionThis program loads and parses the Johns Hopkins Coronvirus Dataset