I have done similar things of combining music and weather data, but not in an interactive map.

For the final, I wanted to combine the Mapbox with Spotify player, but I don’t know how to set the link to be clickable or either using the custom markers may be limited to a few geojson?

I found the inspiration from Spotify Insights of their music and weather data combined, but they have removed the page now. I am using the layers to represent the temperature of the US states in a certain time, and I wanted to input an iframe so when I click on the states, it could pop out the Spotify web player, which is similar to this:



By now, this is all I figure out to do.

I did try using setHTML, but the link not clickable…