Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Summarizing Coronavirus Data

Public visualization

Viewing a saved revision (read-only)

7caff4315bff41ad8d5803f20c4269c2

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.