Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Rate of Depression over Time per Country

Public visualization

Rate of Depression over Time per Country

0 stars0🌍 Public
CCrossZeigler
Last edited May 19, 2023
Created on May 19, 2023

This visualization shows the global rate of depression over time for each country, with a logarithmic y-axis displaying cumulative deaths. It uses React and d3.v5 to render an SVG line chart, with a Voronoi overlay for hover interactions that highlight the active country’s line and display a tooltip with exact values. Data comes from a CSV dataset processed via d3.csv, with scales and line generators built using d3.scaleTime, d3.scaleLog, and d3.line.

AI-generated description

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

Hover to see details and illuminate lines.

Comments

Sign in to join the discussion.

MIT Licensed