demo/crosstalk-highlight-ggpairs.R

library(GGally)
d <- highlight_key(iris)
p <- ggpairs(d, aes(colour = Species), columns = 1:5)
ggplotly(p) %>% 
  highlight("plotly_selected")
ropensci/plotly documentation built on June 10, 2024, 5:51 a.m.