How do I get dropdown menu to filter the dataframe for the plot

Dear plotly community,

How do I create a dropdown menu that filters and displays different subsets of my data.

e.g. using the iris dataset, a dropdown filter that displays one specie at a time.

thank you.

1 Like