![](https://blogs.sas.com/content/graphicallyspeaking/files/2017/04/Box_Legend_Featured.png)
A grouped box plot created by SGPLOT VBOX / HBOX statement or GTL BOXPLOT statement will display groups within categories using group colors and puts the color swatches representing the group values in the legend. This works well for a color graph created as shown below. title 'Distribution of Cholesterol