Altair does have interactive legends actually. But dash is great for more complicated interactions and layouts. Panel, streamlit, and voila are also all potentially useful.
https://altair-viz.github.io/gallery/interactive_legend.html
https://altair-viz.github.io/user_guide/interactions.html#se...