Create an interactive graphic to be used in a web browser.
Use geom_zzz_interactive
to create interactive graphical elements.
Difference from original functions is that the following
aesthetics are understood: tooltip
, onclick
and data_id
.
Tooltips can be displayed when mouse is over graphical elements.
If id are associated with points, they get animated when mouse is
over and can be selected when used in shiny apps.
On click actions can be set with javascript instructions. This option
should not be used simultaneously with selections in Shiny
applications as both features are "on click" features.
When zoom_max
is set, "zoom activate", "zoom desactivate" and
"zoom init" buttons are available in a toolbar.
When selection
is set to multiple (in Shiny applications), lasso
selection and lasso anti-selections buttons are available in a toolbar.