Dropdown Widget with Plotly in Python

Iโ€™m using pandas to plot a bubble chart and would like to add a dropdown menu. I found this example but itโ€™s very hard to follow. Does anyone have a better example to plot online? Thanks

Try Plotlyโ€™s native dropdowns instead of using IPython widgets: