Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Summarizing Coronavirus Data

Public visualization

Summarizing Coronavirus Data

0 stars0🌍 Public
TThomas Cormican
Last edited Jan 13, 2022
Created on Jan 13, 2022

This visualization summarizes global COVID-19 deaths by displaying a single large number computed from the Johns Hopkins Coronavirus Dataset. It shows the total death count and the latest date column from the dataset. The code uses D3 v7’s `d3.csv` to load the data, then applies array methods like `map` and `reduce` to sum all values. It formats the result with D3’s `format` function before inserting the message into the page via `document.getElementById`.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset

Comments

Sign in to join the discussion.

MIT Licensed