Skip to main content
100%

WHR2024

✓ Published0🌍 Public
XXiaojun
Last edited Sep 24, 2025
Created on Sep 24, 2025

This scatter plot displays the relationship between GDP per capita and happiness scores for countries in the 2024 World Happiness Report. Each black circle represents a country, positioned by its logged GDP contribution and overall ladder score. Built with React and D3 v7, the visualization uses `scaleLinear` to map data coordinates and idempotent `select` operations to render circles and axes. The SVG rendering handles axis labels and margins through helper modules.

AI-generated description
MIT Licensed

Similar vizzes