I'd like to show data values on stacked bar chart in ggplot2. Here is my attempted code library(ggplot2) Data <- data.frame( Year = c(rep(c("2006-07", "2007-08", "2008-09", "2009-10"), each = 4)), Category = c(rep(c("A", "B", "C", "D"), times = 4)), Frequency = c(168, 259, 226, 340, 216, 431, 319, 368, 423, 645, 234, 685, 166, 467, 274, 251) ) ggplot(Data, aes(Year, Frequency, fill = Category)) +