Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronav deaths line chart

Public visualization

Coronav deaths line chart

0 stars1🌍 Public
Ssurikmeetr
Last edited Apr 17, 2021
Created on Apr 16, 2021

This chart displays the total global COVID-19 deaths over time as a single black line rising across a white SVG canvas, with a teal horizontal marker line fixed at the one-million death threshold. The React component uses d3’s `scaleTime`, `scaleLinear`, and `line` generator to map dates and cumulative death totals from the CSSE COVID-19 time series dataset (a CSV loaded via d3.csv). The marker line’s position is computed with `yScale(1000000)`, while the path is rendered directly to SVG coordinates.

AI-generated description

React + D3 to display coronav line chart

Comments

Sign in to join the discussion.

MIT Licensed