python-visualization / python-visualization/folium
New function: color legend and color proportion in folium.heatmap
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.4k
- Forks
- 2.3k
- Avg merge
- 17h 22m
- Merged PRs (30d)
- 11
Description
Describe the solution you'd like
without change the default color in current folium heatmap.
we want to see a color legend can be show on map and different color proportion can be showed next to the color legend.
Describe alternatives you've considered
add a color legend can show the correspondence between clor and value
add a color proportion can tell user the percentage of different color, it is very convenient for making statistics.
Additional context
a example link can be seen here:
https://en.wikipedia.org/wiki/Heat_map#/media/File:LakeEffectSnowBuffalo101206.gif
Implementation
yes, I have used it in my example and I will share it with my friends.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing folium.heatmap and the linked heat-map example to define the legend and color-proportion requirements without changing the default coloring. Confirm how the requested visualization should appear on a map; done means the map shows the color-to-value correspondence and proportions alongside the legend.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100