ggfusionPlot | R Documentation |
ggfusionPlot(object)
object |
a ggplot object |
library(ggplot2)
library(fusionchartsR)
df <- data.frame(
label = rep(x = c(2012:2016), times = 2),
seriesname = c(rep("iOS App Store", 5), rep("Google Play Store", 5)),
values = c(1:10)
)
object <- ggplot(df, aes(label, values, fill = seriesname)) +
geom_col()
ggfusionPlot(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.