Hello!
I made a bubble chart map that has some pre-defined filters.
What I’d like to do is add a search input box so that users can create their own custom filters. Meaning, users could search for the term “drowned” and the map would only display instances of when “drowned” was contained within the description.
Any help is appreciated!
O.
Did you ever find a solution?
Thanks
Hey @owenlhjphillips & @timmym123
For search input (textbox or dropdown) you can try a few different options such as using Shiny https://plot.ly/r/shinyapp-UN-simple/, or with plotly development version ( devtools::install_github(“ropensci/plotly”) ) https://cpsievert.github.io/plotly_book/linking-views-without-shiny.html#selection-via-indirect-manipulation. Whilst there isn’t a textbox option, dropdowns and buttons are native to plotly.js. Have a look at the the custom control docs for R https://plot.ly/r/#controls.
Cheers,