The key on parameter refers to the label in the json object which has the country code as the feature ID attached to each countrys border information. Well also want to extract the name of the indicatorfor use as the legend in the figure.Īnd then next, well use the built-in method called choropleth to attach the countrys geographic json and the plot data. So, lets pull out the life expectancy data for all the countries in 2013. It seems that the indicators dataset have different indicators for different countries with the year and value of the indicator. Make sure to create the jupyter notebook in the same folder as data for ease. It contains over a thousand annual indicators of economic development from about 247 countries around the world from 1960 to 2015. With Folium, one can create a map of any location in the world as long as its latitude and longitude values are known.Īlso, the maps created by Folium are interactive in nature, so one can zoom in and out after the map is rendered, which is a super useful feature. Geographic data ( Geo data ) science is a subset of data science that deals with location-based data i.e description of objects and their relationship in space. One such library is Folium which comes in handy for visualising Geographic data ( Geo data).
0 Comments
Leave a Reply. |