Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of CORONAVIRUS LINE CHART

Public visualization

Viewing a saved revision (read-only)

f06088d6e55c4514b255e8e297a8e027

Fork of CORONAVIRUS LINE CHART

0 stars1🌍 Public
Jjesramyep1263
Last edited Jan 10, 2021
Created on Jan 10, 2021

This chart displays global COVID-19 death totals over time using a red SVG background and a thick black line. It uses `d3.scaleTime` and `d3.scaleLinear` to map dates and cumulative deaths, while `d3.line` generates the path. Two custom React components, `YMarkerLine` and `XMarkerLine`, draw reference lines at the 1,000,000 death mark and at the latest date, respectively. Data comes from the CSSE COVID-19 time series CSV loaded via `d3.csv`.

AI-generated description

Smiley face implementation with React & D3, taking full advantage of React components and ES6 modules.