Now I use the following codes to make a figure:
library(tidyverse)
df_simu <- tibble(
Var1 = c("A", "B", "B", "B", "B", "C", "C", "C", "C"),
Var2 = c("P", "W", "X", "Y", "Z", "W", "X", "Y", "Z"),
value = c(5, 10, 6, 4.5, 3, 5, 5, 4, 2.4)
)
ggplot(df_simu, aes(x=Var1, y=value, fill=Var2, group=Var2))+
geom_col(position=position_dodge2(preserve = "single", padding=0))
What I should do to reduce (or customize) the reserved space for A, i.e., remove the "black" areas in the following figure?

Thanks in advance!

