I have a dictionary of countries (by their 2 letter country code), and the population density of each country.
I'd like to create a map with each country colored according to a color bar of density, with the country boundries drawn.
I've tried using the basemap package, like in this notebook
This piece of code works for the US countries. But I want to do it worldwide.