Search code examples
pandasmappinggeojsonjupyterfolium

downloading geojson file into folium in jupyter


I want a map of Europe (as json file, so i can work with geojson) to place it on Folium map as layers so I am able to embed my data set onto it to show which country in Europe has the highest alcohol serving. I am having problems with getting the json file from GitHub to open in jyputer

This is what I have so far enter image description here and i have the file of europe country in geojson from github https://github.com/Leaflet/Leaflet.VectorGrid/blob/master/docs/eu-countries.geo.json


Solution

  • You will have to download that file. Now you will be able to add the layer:

    # geo_path is the path to your geojson file
    map1.choropleth(geo_path=geo_path)
    display(map1)