Pandas and Folium: Categorize GDP Growth by Country and Visualize on Map in 3 Easy Steps

What will we cover in this tutorial? Step 1: Get the data and merge it The data is available on wikipedia on List of countries by past and projected GDP. We will focus on data from 1990 to 2019. At first glance on the page you notice that the date is not gathered in one … Read more

How to Create Choropleth Maps with Evenly Distributed Colors in 3 Easy Steps

What will we cover in the tutorial Step 1: Understand the issue In this example we have used the divorce rates in reported in various countries on wikipedia’s page of Divorce Demography At first inspection on the wikipedia page you get an idea of what the problem is. The divorce rate in Denmark is too … Read more

Plot World Data to Map Using Python in 3 Easy Steps

What will we cover in this tutorial Step 1: Read the data to a Pandas DataFrame We need to inspect the page we are going to parse from. In this case it is the world meat consumption from wikipedia. What we want to do is to gather the data from the table and plot it … Read more