0

I want to get label of count in bar graph using ggplot. I have tried the following R code:

ggplot(data = OrgDATA) + 
   geom_bar(aes(y=..count.. , x= as.factor(BUSINESS_UNIT), fill=as.factor(STATUS)),position = position_stack()) + 
   geom_text(aes(label = ..count..),vjust = -0.3) + 
   theme_minimal()
Roman
  • 17,008
  • 3
  • 36
  • 49
Ankit
  • 27
  • 4

0 Answers0