Multiple Colored Lines With Voronoi Overlay
✓ Published1🌍 Public
This example visualizes global COVID-19 deaths over time with multiple colored lines, one per country, on a log-scaled y-axis. Hovering near any line highlights that country’s full path in black, using a `d3.Delaunay` Voronoi overlay to capture mouse proximity. The chart is built with React and renders SVG, using `d3.scaleTime`, `d3.scaleLog`, and `d3.line` for the axis and line generation. Data comes from the CSSEGISandData COVID-19 time-series CSV, parsed with `d3.csv` and `timeParse`, showing roughly twenty countries.
AI-generated descriptionHalf way towards a smiley face.
MIT Licensed