Skip to main content
100%

Coronav deaths over time by country (linear)

✓ Published0🌍 Public
Ssurikmeetr
Last edited Apr 29, 2021
Created on Apr 29, 2021

A multi-line chart tracks cumulative COVID-19 deaths over time for each country, with one colored path per nation. The visualization uses a linear y-scale and a time-based x-axis, with gridlines and axis labels formatted via `d3.axisBottom` and `d3.axisLeft`. Data is loaded from a CSV using `d3.csv` and parsed with `d3.timeParse`. The React component builds an SVG, generating paths with the `d3.line` generator and rendering axes through custom React hooks that forward refs to D3 selection calls.

AI-generated description

React + D3 to display coronav line chart

MIT Licensed

Similar vizzes