Add subplots based on selection

Hello! I’m trying to create a figure with multiple subplots based on a selection received as user input.

For example, I want the page to show 4/8 subplots as default and allow the user to then select which ones should be shown on the page. All the data is loaded from a single pandas dataframe.

Any help would be appreciated!