I am making a plot with a few levels in the variable Code and 3 Levels in the variable Statut
.
Now I want all bars to be the same size even if there are fewer levels of code for the Statut
not yet started. How can I do this?
ggplot(data = df_incoming, aes(x = Statut, fill = Code)) +
geom_bar(position = "dodge", aes(y = count)) +
labs(x = "Statut", y = "Aantal") +
scale_fill_manual(values = brewer.pal(12, "Set3")) +
theme_minimal()