Tomaz Kastrun builds a visual:
Calculating cumulative percentage or percentage per group for each time can sometimes be a task with a slight twist. Let’s check this with ggplot2 and tidyverse.
Click through for three separate ways of doing this.