-1

I'm trying to display a choropleth map of France with Jupyter notebook using Folium but it doesn't work, it leaves a blank (without error messages) even with other browsers than Chrome. I believe my code is OK and there aren't mistakes but for some reason it doesn't work. I tried to save the map to HTML also but no effect.

Click here to have access to my files and my code

Here is a screenshot of what is happening

Thanks in advance for your help.

ah_onaly
  • 53
  • 6

1 Answers1

0

You need to remove the apostrophe ' in the title of your map (you can choose a title like "Montant aide"). In order to have your choropleth working, you need to change the type of the "code" from strings to numbers (remove the quotes) :

"properties":{"code":11,"nom":"Île-de-France"}
Pierre-Loic
  • 1,524
  • 1
  • 6
  • 12