Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Happiness Scatter Plot

Public visualization

Viewing a saved revision (read-only)

67e5b314e9e94a199bd1629a31190387

World Happiness Scatter Plot

0 stars1🌍 Public
Mmacgregorm01@gmail.com
Last edited Sep 17, 2024
Created on Sep 17, 2024

This scatter plot shows the relationship between GDP per capita and healthy life expectancy across countries, revealing a positive correlation. The visualization uses d3.scaleLinear to map data dimensions to positions and d3.axisLeft for the y-axis. Data comes from the @mjmacgregor/worldhappiness package, rendered as semi-transparent circles on a gray background. The code employs axis label utilities from @curran/axis-labels to annotate both axes. This chart effectively demonstrates how wealthier nations tend to have higher life expectancy.

AI-generated description

A simple scatter plot of my World Happiness