Skip to main content
100%

coronavirus data summary

✓ Published1🌍 Public
BBlake McCarty
Last edited May 18, 2022
Created on May 18, 2022

This example displays a single summary statistic: the total number of COVID-19 deaths worldwide since the most recent date in the time-series dataset. A React component fetches the global death-count CSV from the CSSEGISandData GitHub repository using d3.csv, then extracts the last column’s values and sums them with a reduce operation. The final number is formatted with d3.format(",") and rendered as text within a div, updating automatically once the asynchronous data load completes.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes