Fork of Coronavirus Deaths Over Time by Country With Voronoi Overlay
✓ Published0🌍 Public
Jjesramyep1263
Last edited Feb 1, 2021
Created on Feb 1, 2021
This example shows global coronavirus deaths over time as a set of cumulative line charts, one per country, on a log-scaled y-axis. Each country’s daily death total is plotted using D3’s `scaleTime` and `scaleLog` scales, with the line generator drawing paths from the Johns Hopkins dataset. A red Voronoi overlay, built with `d3.Delaunay` and `d3-delaunay`'s `voronoi` method, is rendered on top of the chart, dividing the plotting area into cells based on three hard-coded points, though hover interactions are only logged to the console. The visualization is built with React and rendered as SVG, with axes created via `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionLine chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.
MIT Licensed