Streamgraph is a type of stacked bars graph. Streamgraph creates attractive visualizations, especially when displaying large amount of data.
Simple examples and reference: http://hrbrmstr.github.io/streamgraph/
library(streamgraph)
library(dplyr)
Sensors_daily %>%
streamgraph("sensor_id", "D_Gap", "thedate", offset="zero", interpolate="cardinal") %>%
sg_axis_x(15, "day", "%Y-%m-%d") %>%
sg_fill_brewer("PuOr")
Sensors_daily %>%
streamgraph("sensor_id", "D_Gap", "thedate", interpolate="cardinal") %>%
sg_axis_x(15, "day", "%Y-%m-%d") %>%
sg_fill_brewer("RdBu")
Sensors_daily %>%
streamgraph("sensor_id", "Y_Gap", "thedate", offset="zero", interpolate="cardinal") %>%
sg_axis_x(15, "day", "%Y-%m-%d") %>%
sg_fill_brewer("PuOr")
Sensors_daily %>%
streamgraph("sensor_id", "Y_Gap", "thedate", interpolate="cardinal") %>%
sg_axis_x(15, "day", "%Y-%m-%d") %>%
sg_fill_brewer("RdBu")