Skip to main content
100%

Fork of Coronavirus Deaths Over Time by Country

✓ Published0🌍 Public
MMohammadreza Osouli
Last edited Nov 29, 2021
Created on Nov 29, 2021

This interactive line chart displays cumulative COVID-19 deaths over time for ten countries, using a logarithmic y-axis to accommodate varying death tolls. Each country’s trajectory is rendered as a colored path in an SVG canvas, with randomized stroke colors assigned per series. The React application fetches data from the Johns Hopkins Coronavirus dataset via `d3.csv`, processes it with `d3.timeParse`, and builds the visualization using `d3.scaleTime`, `d3.scaleLog`, and `d3.line`. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, and the chart updates responsively to window dimensions.

AI-generated description

Line chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.

MIT Licensed

Similar vizzes