Reddit DataViz Battle June

Task was to visualize the data for the World Happiness Report, given here. A detailed description of the challenge is given in the Reddit thread.

The data was three CSV files for the years 2015, 2016 and 2017. However, the data for the three years look fairly similar, as you can see here:

Final results as large images for 2015, 2016 and 2017.

You can play around with the source code in this Google Colab Notebook:

Click here

The idea was to combine the visualization capabilities of geopandas with the data set. This required to merge the given data to the country data from geopandas for which some renaming was necessary. Other than that it was straight forward visualization with matplotlib.

The full code with more images can also be found on Github. The final images are shown below. I also submitted the graphic to Reddit here, however this links to an older version where I did not consider the problem of color blindness.

Leave a Reply