🌍 Public
Viewing a saved revision (read-only)
67e5b314e9e94a199bd1629a31190387
World Happiness Scatter Plot
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 descriptionA simple scatter plot of my World Happiness