Python Folium Choropleth Map - Legend Quantiles Overlap
I am struggling to solve a problem I am having with folium choropleth map. I am visualizing COVID-19 cases and try to plot the colour according to their quantiles affiliation. However, unfortunately, the legend overlaps. Hence, I am wondering if someone could please tell me how to fix this problem? Either by "logarithmically" scaling the legend or just showing the start and end. Unfortunately, I did not find sufficient advice online. Please find below the code and a visualization: myscale = (covid_cases['total_cases'].quantile((0,0.02,0.25,0.5,0.75,0.9,0.98,1))).tolist() m = folium.Map([10, -1
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.