data=pd.DataFrame(raw_data, columns=['name', 'value'])
folium.Choropleth(
geo_data=geo_json,
name='choropleth',
data=data,
columns=['name', 'value'],
key_on='feature.properties.name',
fill_color='YlGn',
).add_to(m)
I have error with fill_color=’YlGn’.
I wanna fix this error plz.
I can’t do it by myself. Sorry for my poor English skills.
New contributor
dky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3