Add a dropdown menu with plotly plot and JavaScript

Hello,

I want to add to the plotly plot template a dropdown menu, but the examples on plot.ly doesnt help me at all. Does anyone have a good project where you add a textbold with auto suggestion in javascript or a dropdown menu with real-time data? 

https://plot.ly/javascript/dropdowns/

thanks,

tamia