Features: |
|
data piesales; input Bakery $ Flavor $ Year Pies_Sold; datalines; Samford apple 2005 234 Samford apple 2006 288 Samford blueberry 2005 103 Samford blueberry 2006 143 Samford cherry 2005 173 Samford cherry 2006 195 Samford rhubarb 2005 26 Samford rhubarb 2006 28 Oak apple 2005 219 Oak apple 2006 371 Oak blueberry 2005 174 Oak blueberry 2006 206 Oak cherry 2005 226 Oak cherry 2006 311 Oak rhubarb 2005 51 Oak rhubarb 2006 56 Clyde apple 2005 213 Clyde apple 2006 415 Clyde blueberry 2005 177 Clyde blueberry 2006 201 Clyde cherry 2005 230 Clyde cherry 2006 328 Clyde rhubarb 2005 60 Clyde rhubarb 2006 59 ;
proc chart data=piesales; vbar flavor / subgroup=bakery
sumvar=pies_sold;
title 'Pie Sales by Flavor Subdivided by Bakery Location'; run;
data piesales; input Bakery $ Flavor $ Year Pies_Sold; datalines; Samford apple 2005 234 Samford apple 2006 288 Samford blueberry 2005 103 Samford blueberry 2006 143 Samford cherry 2005 173 Samford cherry 2006 195 Samford rhubarb 2005 26 Samford rhubarb 2006 28 Oak apple 2005 219 Oak apple 2006 371 Oak blueberry 2005 174 Oak blueberry 2006 206 Oak cherry 2005 226 Oak cherry 2006 311 Oak rhubarb 2005 51 Oak rhubarb 2006 56 Clyde apple 2005 213 Clyde apple 2006 415 Clyde blueberry 2005 177 Clyde blueberry 2006 201 Clyde cherry 2005 230 Clyde cherry 2006 328 Clyde rhubarb 2005 60 Clyde rhubarb 2006 59 ;