Summarizing Data Coronavirus
✓ Published0🌍 Public
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.
MIT Licensed