ggplot(monthly_outcomes, aes(x = YearMonth, y = count, fill = Outcome.type.y)) +
geom_bar(stat = "identity") + # Make sure that it uses the counts from montly income
theme_minimal() + # Add theme to my graph
geom_text(aes(label = count),
position = position_stack(vjust = 0.5), # This will center my count in the middle of each stack
size = 3,
color = "black") +
scale_fill_brewer(palette = "Set1") +
labs(
title = "Monthly Shelter Outcomes",
x = "Year/Month of Year 2025 to February 2026",
y = "Number of Animals",
fill = "Outcome Type"
) +
theme(axis.text.x = element_text(angle = 45, hjust = 1)) # This makes it possible so the x labels don't overlap