Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sumarizing Coronavirus Data

Public visualization

Viewing a saved revision (read-only)

f98616a3f9c848eeb8fe8b11db3afb6d

Sumarizing Coronavirus Data

0 stars0🌍 Public
RRMartins11
Last edited May 6, 2021
Created on May 6, 2021

This visualization summarizes the global death toll from the Johns Hopkins Coronavirus Dataset. It displays a single large red number for the total deaths, followed by the latest recorded date, in a plain text format. The code loads the CSV data with d3.csv, extracts the last date column, and sums all values using array reduce. It then formats the result with d3.format and writes it to a pre element in the HTML.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset