The VBAR statement produces side-by-side vertical bar charts to compare the sales across values of Bakery, specified by GROUP=. Each Bakery group contains a bar for each Flavor value.
proc chart data=piesales; vbar flavor / group=bakery