Skip to main content
100%

Coronavirus Line Chart with Marker Lines Part II

✓ Published1🌍 Public
WWolfgang
Last edited Apr 11, 2021
Created on Apr 9, 2021

This chart displays cumulative global COVID-19 deaths over time as a line path, with marker lines highlighting the one million death threshold and the current date (“Now”). The code uses d3.scaleTime, d3.scaleLinear, and d3.line to generate the SVG path from the Johns Hopkins Coronavirus Dataset, which is loaded via d3.csv. React manages the component state, while custom XMarkerLine and YMarkerLine components draw the annotated reference lines.

AI-generated description

This chart uses React & D3 to visualize the Johns Hopkins Coronavirus Dataset.

MIT Licensed

Similar vizzes