Question : rstudio boxplot coloring
Answered by : helpful-hummingbird-9ua0uguff8o9
df %>% ggplot(aes(x=age_group, y=height, fill=age_group)) +
geom_boxplot(width=0.5,lwd=1)+
labs(subtitle="Filling Boxplot with Colors by a Variable")
Source : https://datavizpyr.com/color-boxplots-by-a-variable-in-r-with-ggplot2/ | Last Update : Wed, 14 Apr 21