🏥 🏭 Working on the COVID-19 response in Canada? Plotly & the Canadian government can help you and your organization. Learn more and get in touch.

Plot a histogram for each item in dorp down menu

Good morning,

I’m new to markdown and plotly and all I need to do is to plot a different histogram for each item in a dropdown menu. I would like to know how I’m supposed to do so, I need to plot them all and store somewhere and than show it?

selectInput("Names", "choose a name",
            choices = list_of_names)

I can already denerate the dropdown menu, now I would like to see how can I display each name’s histogram thats is into it. Thanks!

I’ve found a link that does something like that but I could not understand that much. https://walkerke.github.io/2016/12/rmd-dropdowns/

I have each name’s dataset to plot its histogram