🌍 Public
Viewing a saved revision (read-only)
9ef7518a7b954c0f9abdd55c8050786e
Coronavirus line chart - Linear Y Axis
YYedrup
Last edited Feb 7, 2021
Created on Feb 7, 2021
A line chart displays cumulative global COVID-19 deaths over time, sourced from the Johns Hopkins Coronavirus Dataset. The chart uses a linear y-axis scale (d3.scaleLinear) and a time-based x-axis (d3.scaleTime), with the line path generated via d3.line. React manages component state, while d3.axisBottom and d3.axisLeft render the axes with tick marks extending across the plot area. SVG elements draw the chart, styled with CSS for gridlines and the line stroke.
AI-generated descriptionLine chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.
See also: