Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing Corona virus Data

Public visualization

Viewing a saved revision (read-only)

95799999ffc3495f894ee2ebbf4252df

Loading and Parsing Corona virus Data

0 stars0🌍 Public
AAnkit-Ian-53787
Last edited Nov 8, 2021
Created on Nov 8, 2021

This example displays the total global COVID-19 deaths as a large red number, along with the date of the latest data point. It loads a time-series CSV from the CSSE at Johns Hopkins using `d3.csv`, then parses the last column as the most recent date. The code sums all country values for that date using JavaScript’s `reduce`, formats the total with `d3.format`, and updates the page text via the DOM. The visualization is minimal, focusing solely on the computed aggregate without any charts or maps.

AI-generated description