🌍 Public
Viewing a saved revision (read-only)
85844ba9b5f848e5b37b51a318d5c8d3
Line Chart With Marker Lines and D3 Axes
OOleg Zhernovoy
Last edited Dec 17, 2022
Created on Dec 17, 2022
This example visualizes global COVID-19 deaths over time as a line chart, with a horizontal marker line at six million deaths and a vertical marker at the most recent date. The chart uses React components wrapping D3 scales and axes, including `scaleTime`, `scaleLinear`, and `axisBottom` for gridlines. Data is loaded from a CSV file and aggregated by day from the CSSE COVID-19 dataset. Rendering uses SVG paths generated by D3's `line` generator.
AI-generated description