In my project I receive a DataFrame with scores for cities in the US. I can plot the HeatMap using Folium however I would like to add a colorbar to showcase the numerical values of these scores, based on the color of the HeatMap. Is there a way to do it?. My code so far
cities = pd.read_csv ('../datasets/us.csv'))
cord = cities [["latitude","longitude","score"]]
#create map
base_map = folium.Map(
width = "100%",
height = "100%",
location = [-15.788497,-47.879873],
zoom_start = 4
)
base_map = base_map.add_child(plugins.HeatMap(cord,radius = 20, min_opacity = 0.1))