I was plotting a bar chart and was wondering how would I add the count on top of the bars
ggplot(data = sf_crime)+
geom_bar(aes(x=day_of_week, y=..prop..,group=1), stat = "count", fill ="forestgreen", color = "gold") +
geom_text()
I was looking at the proportion of crimes on each weekday, and wanted to add the count on top of each bar but was having a lot of issues. I know we would use the geom_text function to do so.