Skip to main content
100%

Voronoi Overlay with Labels

✓ Published0🌍 Public
BBen Brophy
Last edited Jan 14, 2022
Created on Jan 14, 2022

A multi-line chart tracks cumulative COVID-19 deaths over time for multiple countries, with a logarithmic y-axis and interactive hovering. A Voronoi overlay computed with `d3.Delaunay` divides the chart into cells that trigger hover events, highlighting the nearest date’s data point and displaying a tooltip with the country name, death total, and date. The tooltip is rendered as SVG text, and the active country’s line is emphasized. Data comes from the CSSE COVID-19 time series, parsed via `d3.csv` and `timeParse`.

AI-generated description
MIT Licensed

Similar vizzes