Skip to content

Instantly share code, notes, and snippets.

@prithwi
Last active November 11, 2019 16:32
Show Gist options
  • Save prithwi/d029b239b7f1de7a895e to your computer and use it in GitHub Desktop.
Save prithwi/d029b239b7f1de7a895e to your computer and use it in GitHub Desktop.
Example Choropleth map using folium
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
id Country Score
PER Peru 2.81030047565
HND Honduras 2.73452059052
GUF French Guiana 2.73088624339
SLV El Salvador 2.47313396091
CRI Costa Rica 2.45496258877
PRY Paraguay 2.27359432526
CHL Chile 2.22459594857
ECU Ecuador 2.1062717474
ARG Argentina 2.07731052863
BOL Bolivia 2.04044795703
NIC Nicaragua 2.02057902574
COL Colombia 1.97875064122
MEX Mexico 1.86885576881
GTM Guatemala 1.57594468934
PAN Panama 1.23348283352
@prithwi
Copy link
Author

prithwi commented Nov 11, 2019

@ammarsabircheema I suspect the world-countries.json file you are using doesn't have the requisite columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment