Viewing a saved revision (read-only)
580c62fcd92341caa1cc903d16943088
Fork of Coronavirus Deaths by Country over Time (with Voronoi Hover)
This fork of a line chart visualizes cumulative coronavirus deaths by country over time, using a log-scaled y-axis to accommodate wide variation in death tolls. Hovering over any point triggers a Voronoi overlay, powered by `d3.Delaunay`, to highlight the nearest data point, illuminate the corresponding country’s line, and display a tooltip with the date, country, and death count. The chart is built with React and D3 v5, rendering SVG paths from the Johns Hopkins COVID-19 dataset, with axes generated via `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionLine chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.
Hover to see details and illuminate lines.