Enlarge single subplot after clicking it

I want to visualize trace plots from a markov chain. It should look similar to something like this (the generic layout).

The key difference to the picture above is that I have about 15-130 subplots. So I clearly can’t show them all in one plot without some sort of zoom. One possible solution might be that the user can click one of the subplots and enlarge it interactively, like this:

Is this possible?

Comment: This also might not be a good solution at all as even 100 small subplots are really messy. A alternative approach would be a simple dropdown menu to select which variable to plot or a simple legend (but that legend/dropdown menu would have 100 entries so it would also be a bit messy). If you have any ideas to present the data in a different way you are welcome to share that as well. Thanks!