Graphically Speaking
Data Visualization with a focus on SAS ODS Graphics
A couple of weeks back we had a question on how to make a bar chart with stacked and clustered groups. User also wanted to display the value for each stacked segment below the bars. The article Bar Charts with Stacked and Cluster Groups shows how to create such a
Recently, SAS released SAS Solutions OnDemand for academics. An academic user who is signed up for this can use the SAS Web Editor application to do all their data analysis over the web using a hosted server at SAS. This frees up the user from having to install the software on their own computers,
Creating bar charts with group classification is very easy using the SG procedures. When using a group variable, the group values for each category are stacked by default. Using the sashelp.prdsale data set and default STAT of SUM, here is the graph and the code. SGPLOT code: proc sgplot data=sashelp.prdsale;