This is related to Plotting cumulative counts in ggplot2, but that question was dealing with a continuous variable (rather than discrete).
Here, I have a bar chart