ggiraph: tooltip with hyperlink?
问题 I am trying to create an interactive scatterplot with ggiraph where the tooltip allows me to navigate to a webaddress (which pertains to the specific selected dot). Any idea whether this is actually possible and how to go about it? Many thanks for any advice! library(tidyverse) library(ggiraph) my_df <- data.frame(stringsAsFactors=FALSE, x = c(0.5, 0.1), y = c(0.2, 0.9), link = c("bbcnews.com", "nyt.com"), link_name = c("bbc news", "nytimes") ) my_plot <- my_df %>% ggplot()+ geom_point