Week 5: viz-happiness-2024 Scatter Plot
✓ Published0🌍 Public
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 descriptionMIT Licensed