Summarizing Coronavirus Data
✓ Published0🌍 Public
This example summarizes the Johns Hopkins Coronavirus Dataset, displaying the total global death count and the latest recorded date in a large text format. It loads the time-series CSV, extracts the final column of data, and sums all values using JavaScript's `reduce` method. The `d3.csv` function parses the data, while the `d3.format` API formats the number with commas. The resulting message is rendered inside a `<pre>` element, providing a stark numerical overview of the pandemic's impact.
AI-generated descriptionThis program loads and parses the Johns Hopkins Coronavirus Dataset
MIT Licensed