Skip to main content
100%

world-happiness-data

✓ Published1🌍 Public
Ccsabavath@wpi.edu
Last edited Sep 3, 2025
Created on Sep 3, 2025
Forked from Loading Data

This gallery example displays the World Happiness Report 2019 data, presenting each country’s happiness score alongside contributing factors such as GDP per capita, social support, and healthy life expectancy. The visualization loads the data from a CSV file and displays the raw parsed JSON, demonstrating the initial data-loading phase. It uses d3.v7’s `select`, `csvParse`, and `fetch` API to retrieve and parse the dataset, updating the view through a state management system.

AI-generated description

Dataset 1: World Happiness Report (2019)

Source: World Happiness Report 2019

This dataset contains information about happiness scores and contributing factors for countries around the world.

Attributes and Types

  • Overall rank — Quantitative, ordinal
  • Country or region — Categorical, nominal
  • Score — Quantitative, ratio
  • GDP per capita — Quantitative, ratio
  • Social support — Quantitative, ratio
  • Healthy life expectancy — Quantitative, ratio
  • Freedom to make life choices — Quantitative, ratio
  • Generosity — Quantitative, ratio
  • Perceptions of corruption — Quantitative, ratio
MIT Licensed

Similar vizzes