Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing Coronavirus Data

Public visualization

Loading and Parsing Coronavirus Data

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed