Skip to main content
100%

Loading and Parsing Corona virus Data

✓ Published0🌍 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
MIT Licensed

Similar vizzes