Learn R Programming

ggstar (version 1.0.6)

geom_star_interactive: Create interactive star points

Description

The geometry is based on [geom_star()]. See the documentation for those functions for more details.

Usage

geom_star_interactive(...)

Arguments

...

see also the [geom_star()].

Examples

Run this code
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)

Run the code above in your browser using DataLab