Graph Demo for Shiny App Question

Hello!

I am rather new to R and Shing and it’s my first post, so I apologize if I make any mistakes.

I have an idea to make a type of graph demo to showcase the different customizable options for graphs in R. My idea is to have a navbar with different types of graphs at the top (line, bar, etc). Then, on each panel there are checkboxes with different customization options. For example, on the Scatterplot panel it would show a basic scatterplot and then there would be options to customize on the side (adding a trend line, labels, etc). However, I’m not sure how to do this without making a ton of if statements for every combination of checkboxes and re-rendering the plot per panel. Any ideas?