I use bellow command. For variable ID, I don't know which id belongs to which country.

spmap our_value_for_each_country_here using "coord_mercator_world.dta", id(id_of_the_countries_here) fcolor(RdYlGn)

Sources of command installation:

https://www.stata.com/statalist/archive/2012-08/msg00298.html

. ssc install spmap

More Seyyed Amir Yasin Ahmadi's questions See All
Similar questions and discussions