🌍 Public
Viewing a saved revision (read-only)
7ad2c52bae8b43d2b217f4e6b3bd048d
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