Skip to main content
100%

Summarizing Coronavirus Data

✓ Published0🌍 Public
LLaura Johnson
Last edited May 11, 2021
Created on May 3, 2021

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 description

This program loads and parses the Johns Hopkins Coronvirus Dataset

MIT Licensed

Similar vizzes