Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Summarizing Coronavirus Data

Public visualization

Summarizing Coronavirus Data

0 stars0🌍 Public
KKtuzinowski
Last edited Jul 30, 2021
Created on Jul 30, 2021

A single number dominates the page: the total global COVID-19 deaths, calculated as of the most recent date in the Johns Hopkins time-series dataset. The visualization reduces the entire pandemic’s toll to one large, red statistic, formatted with commas. The code loads the CSV with `d3.csv`, sums the latest column of death counts using JavaScript’s `reduce`, and displays the result via React by setting `textContent` on a `<pre>` element. It uses d3’s `format` helper to add comma separators.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset

Comments

Sign in to join the discussion.

MIT Licensed