Created
April 19, 2017 12:33
-
-
Save mattm/77ee0be38257b8b20157ad5f2f9ea8ce to your computer and use it in GitHub Desktop.
Stacked Area Chart - With Gaps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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