Skip to main content
100%

World Happiness Scores by Population

✓ Published4🌍 Public
Mmkt-ds
Last edited Oct 25, 2019
Created on Oct 10, 2019
Forked from Circles on a Map

This visualization maps world happiness scores by population, with each country represented by a colored circle whose area reflects its population. Clicking a circle reveals the happiness score, while hovering displays additional details, and pan/zoom enables closer inspection. The D3.js implementation uses `geoPath` with `geoNaturalEarth1` projection, `scaleSqrt` for circle sizing, and `scaleSequential` with `interpolateInferno` for color encoding. Data comes from the World Happiness Report via a CSV file, rendered as SVG with TopoJSON country boundaries.

AI-generated description

Visualizing world happiness scores by population using colored circles representing different countries on a map.

The area of each circle corresponds to the population of the country it represents. Once clicked it shows the happiness score.

You can also pan & zoom, and hover over each country for more information.

The data is from the The World Happiness Report that uses survey data, demographic information and statistical analysis to rank 156 nations according to the happiness of their people.

https://www.kaggle.com/arielyeung/world-happiness-data

https://gist.github.com/mkt-ds/640984c80835e2823c1b0f5c9a3fabe6

A country’s overall happiness score is a composite of different factors collected in an annual worldwide survey, including:

GDP per capita School years Sustainable economic development Employement Rate Health expenditure Government effectiveness Female MPS Control of corruption

What factors contributes to happiness for different countries is interesting. For example more school years increases happiness in certain countries, it's probably correlated with more salaries when a person studies more. I need to create another visual to show the relationship between each factors for each country.

MIT Licensed

Similar vizzes