Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronavirus Deaths by Country

Public visualization

Coronavirus Deaths by Country

0 stars1🌍 Public
Ffjvoris
Last edited Mar 11, 2023
Created on Mar 11, 2023

This chart tracks cumulative COVID-19 mortality over time for each country, with each line representing a nation’s reported death toll. It uses a logarithmic y-axis to accommodate the wide range of counts, and a time-based x-axis spanning the pandemic’s progression. The visualization is built with React and D3 v5, utilizing `scaleTime` and `scaleLog` for scaling, `line` for path generation, and `axisBottom`/`axisLeft` for grid axes, rendered as SVG paths. Data is fetched from the Johns Hopkins CSSE COVID-19 global time-series CSV, aggregated by country.

AI-generated description

Splitting React components into multiple files using ES6 modules. Bonus: React Fragments!

Comments

Sign in to join the discussion.

MIT Licensed