Skip to main content
100%

Week 5: viz-happiness-2024 Scatter Plot

✓ Published0🌍 Public
XXiaojun
Last edited Sep 24, 2025
Created on Sep 24, 2025
Forked from viz-happiness-2024

This scatter plot visualizes the World Happiness Report 2024 data, mapping each country's Ladder score against its explained component from Log GDP per capita. The visualization uses D3 v7, importing data via `csvParse` and rendering the filtered dataset with a simple `pre` element display. The interactive example loads the CSV file asynchronously, parses and converts the relevant columns to numeric values, and filters out any rows with missing Ladder score or GDP data before presenting the results.

AI-generated description
MIT Licensed

Similar vizzes