View source: R/geom_star_interactive.R
| geom_star_interactive | R Documentation |
The geometry is based on [geom_star()]. See the documentation for those functions for more details.
geom_star_interactive(...)
... |
see also the [geom_star()]. |
library(ggplot2)
library(ggiraph)
p <- ggplot(iris, aes(x=Sepal.Length,
y=Sepal.Width,
fill = Species,
starshape = Species,
tooltip = Species)
) +
geom_star_interactive(size=3)
girafe(ggobj=p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.