folium.GeoJson (style function) not working as i want
You were very close. I was able to get it to work by changing fillcolor
to fillColor
in your style function
lambda x :{'fillColor':'green' if \ x['properties']['POP2005']<10000000 \ else 'orange' if 10000000 <x['properties']['POP2005']>20000000 else 'red'}