Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CoronaVirus Line Chart

Public visualization

CoronaVirus Line Chart

0 stars1🌍 Public
33ssalunke
Last edited Mar 9, 2021
Created on Mar 8, 2021

A line chart displays the cumulative global death toll from COVID-19 over time, based on data from the CSSE at Johns Hopkins University. The chart marks the most recent date with a vertical “now” line and highlights thresholds at one and two million deaths with horizontal reference lines. Built with React and D3 v5, the visualization uses `scaleTime` and `scaleLinear` for axes, and `d3.line` to generate the SVG path from a dataset transformed from CSV by summing daily death totals across all countries.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

Comments

Sign in to join the discussion.

MIT Licensed