Add hover text in plotly



Is it possible to have a button in plotlty chart which on clicked would display some text, like an FAQ? I know we can add buttons. But how to add a text display when clicked or hovered on the button.


If your plot is part of a shiny app, shiny has a few options:

Hover options with hoverOpts

shinyBS has some Tooltips and Popovers options to check out.

Shiny Notifications (notification will appear in the bottom right corner of the browser, remain for 5 seconds, and then fade away)

Shiny Modal Dialog (pop ups)

Dean Attali has the shinyAlert package that might be helpful.

And then ployly has a nice community here too: