Skip to main content
100%

coronavirus line chart

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

This visualization displays the total number of coronavirus deaths worldwide as a single numeric readout, updated to the dataset’s most recent date column. It uses React with a custom `useData` hook that loads the Johns Hopkins CSSE time-series CSV via `d3.csv`, then sums the last column’s values across all countries. The total is formatted with `d3.format` (the `format(",")` comma formatter) and rendered inside a React component. While called a “line chart,” the code only presents the cumulative death toll as a message, not an actual line graph.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes