Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Summarizing Coronavirus Data

Public visualization

Viewing a saved revision (read-only)

401414abd6754f01aba165e301047486

Summarizing Coronavirus Data

0 stars0🌍 Public
Zzhangwbhi
Last edited Sep 10, 2021
Created on Sep 10, 2021

This example summarizes the global death toll from the Johns Hopkins Coronavirus Dataset. It shows a single large red number, displaying the total confirmed deaths and the date of the latest data column. Using d3.csv to load the data, it calculates the sum by mapping over the last column and reducing the values. The result is formatted with d3.format and displayed in a pre element.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset.