Enhancing Interactivity

Learn how to embed custom HTML content into a map with folium.

We'll cover the following

We saw how helpful it can be to color the location based on the cluster. Now, we’re going to top it off by plotting the store’s sales over each location. This will pack an enormous amount of information onto the map.

Sales time series

To receive each store’s sales, we import RFM.csv. Then, we create the time series plots with plotly and save each figure as an HTML file.

Get hands-on with 1200+ tech skills courses.