Skip to main content
100%

World Happiness Ranking

✓ Published0🌍 Public
CCJKraenzle
Last edited Sep 29, 2017
Created on Nov 12, 2017

This example visualizes the World Happiness Report 2017, ranking 155 countries by happiness scores. Using D3 v4 with SVG rendering, the visualization likely presents a bar chart or similar ranking display where each country's happiness score determines its position. The data comes from Kaggle's World Happiness dataset, which is based on a survey ranking countries by happiness levels. The visualization was built from scratch by the author to learn D3, using the classic bar-chart idiom to encode the happiness score, with the ranking clearly conveyed through the vertical ordering of the bars. The code is structured as a reusable block, making it easy to adapt for other datasets or analysis purposes.

AI-generated description

Built with blockbuilder.org

This example summarizes a data table using Datalib.

This data is from Kaggle - World Happiness Report.

This dataset is described as "The World Happiness Report is a landmark survey of the state of global happiness."

It goes on to state "The World Happiness 2017, which ranks 155 countries by their happiness levels, was released at the United Nations at an event celebrating International Day of Happiness on March 20th."

For the data visualization assignments, I chose to build the charts from scratch instead of copying a block as a starting point to help me better understand how to use D3. I looked at a number of examples and have used the book "Interactive Data Visualization for the Web" by Scott Murray.

mit Licensed

Similar vizzes