I am trying to run a graph counting the amount of people based on agegroup and sex. I will attach the code below and the graph. Not sure why the females in the 18-49 group are not showing up.
# Count of people per age group per age
sc <- (c("#c994c7", "#9ecae1"))
ggplot(uniquePeople, aes(x = ageGroup, group = sex, fill = sex)) +
geom_bar(position="dodge", col="white") +
scale_y_continuous(breaks = seq(0, 80, by = 5), limits = c(0, 80)) +
theme(panel.grid.major = element_blank(),
panel.grid.minor = element_blank(),
panel.border = element_blank(),
panel.background = element_blank()) +
scale_color_manual(values = sc)+
scale_fill_manual(values = sc)