Skip to content

Instantly share code, notes, and snippets.

@mattm
Created April 19, 2017 12:33
Embed
What would you like to do?
Stacked Area Chart - With Gaps
library(ggplot2)
data <- read.csv("dummy-data.csv", sep = "\t")
g <- ggplot(data, aes(x = week, y = signups, group = plan, fill = plan)) +
geom_area()
print(g)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment