'Gray color output in folium choropleth

Hi I am new in Data Analytics, I have a problem with folium choropleth map, the color scale is not working in my map, it is showing gray color only.

Folium Choropleth Code

Folium Choropleth Output



Solution 1:[1]

Here is the error:

Key_on='feature.properties.?UNICIPALI',

Modify it as:

key_on='feature.properties.?UNICIPALI',

if that doesn't work, you should paste your code and dataset here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 paulyang0125