Skip to main content
Public

Share visualization

Loading preview…

World Happiness Report

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

World Happiness Report

0
Mmkt-ds
Last edited Sep 24, 2019
Created on Sep 20, 2019

This visualization displays the relationship between a country’s happiness score and its GDP per capita, with each circle colored by whether the country is classed as the “happiest country.” Built with the vega-lite-api and D3 v5, it loads CSV data from a GitHub gist and renders a scatterplot using `vl.markCircle`. The chart applies custom axis and label styling from a shared config, uses a tooltip to show country names, and fits the view to the window dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.

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.

A country’s overall happiness score is a composite of different factors including GDP per capita, healthy life expectancy and perceptions of corruption etc.

The data is trying to answer what factors contributes to happiness.

The source of the explaination of the data is at : https://s3.amazonaws.com/happiness-report/2019/WHR19_Ch2A_Appendix1.pdf

Comments

Sign in to join the discussion.

MIT Licensed