✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Reusing existing HTML plot files in Dash

I have a few scripts that are executed every day which produce a bunch of plotly heatmaps (HTML files) using Python. Is is possible to load one of them (main heatmap) in Dash and then load another one below depending on the heatmap tile that is clicked? Think of the main heatmap as an index where the x and y values are used to load sub_heatmap_x_y.html.

I have checked part 4, 5, and 6 of the Dash tutorial but they built all the interactive plots within the dashboard. In theory I could do this but I’d like to re-use our current infrastructure with the benefit that all heatmaps for every day would be “cached” and thus super fast to load.