I had previously asked about using geom_bar to plot the proportions of a binary variable.
This solution worked well. Now I need to add data labels to the plot. However, geom_text requires a y and label, and I am not sure how to do that using the following syntax
df %>%
  mutate(Year = as.character(Year),
         Remission = as.factor(Remission)) %>%
  ggplot(aes(x=Year, fill = Remission)) +
  geom_bar(position = "fill") +
  scale_y_continuous(labels=scales::percent) +
  labs(y = "Proportion")
Is it possible to add data labels to this kind of stacked bar chart?
Secondary question: given that it is a proportion, the top and bottom labels provide the same information. Is it possible to only label the "lower" bar?
 
    
