Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

ggplot in R how to show information by hovering

install.packages("plotly")
library(plotly)

p <- ggplot(data = df, aes(x = Date, y = Revenue)) +
   geom_line(colour = "grey", aes(Date, Target)) +
   geom_line(colour = "#408FA6")
ggplotly(p)
Source by www.musgraveanalytics.com #
 
PREVIOUS NEXT
Tagged: #ggplot #R #show #information #hovering
ADD COMMENT
Topic
Name
5+9 =