🌍 Public
Viewing a saved revision (read-only)
9c193ce12de14f0eb55cb53e7f84bff4
Summarizing Data Coronavirus
This visualization summarizes global COVID-19 death data by displaying a single large number: the total deaths on the most recent date in the dataset. It loads an archived time series CSV from the CSSEGISandData GitHub repository using `d3.csv`, then uses React’s `useState` and `useEffect` to fetch and store the data. A `reduce` operation sums the values from the last date column, and `d3.format` adds comma separators for readability. The final message, including the date, renders in large red text via a `pre` element.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.