🌍 Public
Viewing a saved revision (read-only)
4bbaed35fe3d4c6a88d498c1ea2faec3
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 with D3 showing the Penguins Dataset.
Challenge
- Fork this viz
- Modify it to show your data