Fork of Coronavirus Deaths by Country over Time (with Voronoi Hover)
✓ Published0🌍 Public
Lleongtini
Last edited Sep 14, 2022
Created on Sep 14, 2022
This interactive line chart displays cumulative coronavirus deaths by country over time, using a logarithmic scale to compare countries with vastly different death tolls. Hovering over the visualization triggers a Voronoi overlay, built with d3-delaunay, to identify the nearest data point and highlight its corresponding line with a tooltip. The chart is rendered with SVG within a React framework, using d3.scaleTime and d3.scaleLog for axes and d3.line for path generation. Data comes from the Johns Hopkins Coronavirus Dataset.
AI-generated descriptionLine chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.
Hover to see details and illuminate lines.
MIT Licensed