A boxplot is often more informative when groups are reordered on the X axis.
This is easily done in ggplot2, using the reorder() function when giving the X axis:
# The mtcars dataset is proposed in R
# geom_boxplot proposes several arguments to custom appearance
ggplot(mpg, aes(x=reorder(class, hwy), y=hwy, fill=class)) +
Not what you are looking for ? Make a new search !