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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -