Skip to main content
100%

Loading and Parsing Coronavirus Data

✓ Published0🌍 Public
AAndres de la Garza
Last edited Apr 7, 2021
Created on Apr 7, 2021

This example displays the total number of COVID-19 deaths worldwide as a large text message, using a comma-formatted number and the most recent date from the dataset. It loads a time-series CSV file from the CSSE at Johns Hopkins, parsing it with `d3.csv` and summarizing the latest column with a `reduce` function. The code uses D3 v6’s `format` for number localization and React to update the message container via `getElementById`. The visualization renders as plain SVG-free text, highlighting the data-loading and parsing workflow rather than a chart.

AI-generated description

RONA data

MIT Licensed

Similar vizzes