🌍 Public
Viewing a saved revision (read-only)
5a221fb43325488fb1623971175e8022
Coronavirus Global Death Data
This example displays the global death toll from the COVID-19 pandemic, summing the latest date column from the Johns Hopkins University time-series dataset. A large, plain-text message presents the total number of deaths and the corresponding date. The program uses the `d3.csv` function to fetch and parse the remote CSV file, then applies JavaScript’s `reduce` method to aggregate the numeric values from the final column. The result is formatted with `d3.format` and rendered into an HTML `<pre>` element.
AI-generated descriptionA program that loads and parses JHU Covid-19 dataset.