🌍 Public
Viewing a saved revision (read-only)
c7e4c9bb3e3c4250838dd1b63001b4f9
React + D3 Axes
A line chart tracks cumulative COVID-19 deaths over time, with a dashed marker line at 10,000 deaths and a second marker at the most recent date. The React component uses d3.scaleTime, d3.scaleLinear, and d3.line to generate an SVG path from CSV data. d3.axisBottom renders the x-axis with tick lines, while custom XMarkerLine and YMarkerLine components add annotations. The data comes from the Johns Hopkins CSSE COVID-19 time series.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.