Rapport html se couple parfaitement avec les graphiques intéractifs .
Avantage: Reprendre les visualisations réalisées avec ggplot2
p <- ggplot(data=stocks_long ) +geom_line(aes(x=date, y=indice, color=stocks))ggplotly(p)Evolution du cours d’Aethlon Medical Inc à la bourse entre 2013 et 2018
ggplot2
plotly
Evolution du cours d’Aethlon Medical Inc à la bourse entre 2013 et 2018
ggplot2 + plotly
Evolution du cours d’Aethlon Medical Inc à la bourse entre 2013 et 2018
ggplot2 + plotly
highcharter
ggplot2 + plotly
ggplot2 + plotly
highcharter
ggplot2 + plotly
ggplot2 + plotly
highcharter
Répartition du nombre de location disponible par quartier en 2019
plotly
highcharter
ggplot2 + plotly
Code associé
p <- ggplot(data=stocks_long )+
geom_line(aes(x=date, y=indice,
group = 1,
text = paste("Date: ", date,
"<br>Valeur: $", indice))
)+
# ggtitle("Evolution du cours d'Aethlon Medical Inc \n à la bourse entre 2013 et 2018") +
xlab("Date") +
ylab("Valeur ($)")
ggplotly(p, tooltip = c("date"), width= 500, height= 280) %>% config(displayModeBar=FALSE)highcharter
Code associé