Skip to main content
100%

49) Coronavirus Data Part II

✓ Published0🌍 Public
Llefat92
Last edited Aug 23, 2023
Created on Aug 23, 2023

This example displays the total number of COVID-19 deaths worldwide as of the most recent date in the dataset, rendered as a single large text element on a red-tinted background. It loads death counts from a Johns Hopkins University time-series CSV file via `d3.csv`, sums the latest column’s values using `Array.reduce`, and formats the result with `d3.format`. The page updates the text content of an HTML `<pre>` element to show the comma-separated total and the corresponding date.

AI-generated description

A program that loads and parses some Coronavirus data and renders visualizations.

MIT Licensed

Similar vizzes