Skip to main content
100%

Summarising coronavirus data

✓ Published0🌍 Public
Ccynichole
Last edited Mar 16, 2022
Created on Mar 14, 2022

This visualization summarizes COVID-19 death data from the John Hopkins coronavirus dataset by displaying the total number of deaths and the latest date as large red text. It loads a CSV file with `d3.csv`, extracts the last date column, and sums all death values using `Array.reduce`. The result is formatted with `d3.format` and injected into an HTML `<pre>` element via `textContent`, updating the page with a single, stark numeric summary.

AI-generated description

This program loads and parses the John Hopkins coronavis dataset;

MIT Licensed

Similar vizzes