Skip to main content
100%

Voronoi Overlay With Labels

✓ Published0🌍 Public
AAlex Stulov
Last edited Jul 28, 2021
Created on Jul 28, 2021

This example shows a multi-series line chart of cumulative COVID-19 deaths per country over time. A Voronoi overlay, built with `d3.Delaunay` and `d3.voronoi`, captures mouse hover events across the SVG, highlighting the nearest data point and its corresponding country line. The chart uses a logarithmic Y-axis and a time-scaled X-axis, with a tooltip labeling the active country, death count, and date. Data comes from the CSSE COVID-19 global time-series dataset, rendered using React and D3 v7.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes