draw a population density map for the world in python matplotlib -
i have dictionary of countries (by 2 letter country code), , population density of each country.
i'd create map each country colored according color bar of density, country boundries drawn.
i've tried using basemap package, in this notebook
this piece of code works countries. want worldwide.
i think post useful.
http://i4.tietuku.com/08e327b15bba3a22.png
it use shapefile of each countries define contour boundaries.
Comments
Post a Comment