rstudio – Y Axis only goes to 1 in R Studio

I’m so so so new at this and losing my mind. The maximum value for Count is 44, but the y axis only goes to 1. Here’s a pic

ggplot(combined_data, aes(y = RawMaterial, fill = Dataset)) +
  geom_bar(stat = "count", position = "dodge") +  # Automatically counts the occurrences of each raw material
  coord_flip() +  # Flip coordinates for horizontal bars (to flip the axes)
  ggtitle("Comparison of Raw Material Counts") + 
  xlab("Count") +  # x-axis now represents counts
  ylab("Raw Material") +  # y-axis now represents Raw Materials
  scale_fill_manual(values = c("JJ1ARCHPC" = "blue", "JJ3ARCHPC" = "red"))
[enter image description here][1]

Read more here: Source link