🌍 Public
Line Chart with Multiple Lines by Country With Voronoi Overlay
OOleg Zhernovoy
Last edited Dec 18, 2022
Created on Dec 17, 2022
Forked from Line Chart with Multiple Lines by Country
This multi-line chart displays cumulative COVID-19 death totals over time for each country, using a logarithmic y-axis. A Voronoi overlay, built with `d3.Delaunay.from` and `voronoi.renderCell`, partitions the chart area into cells; hovering over any cell highlights the corresponding country’s line in black. The visualization, rendered in SVG via React, uses D3’s `scaleTime` and `scaleLog` to map data from the CSSE global time-series CSV, with axes generated by `axisBottom` and `axisLeft`.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.