Procedure features: |
|
Data set: |
SHIRTS
|
This example produces a vertical bar chart. The
chart statistic is the
percentage for each category of the total number of shirts sold.
|
options nodate pageno=1 linesize=80 pagesize=60; |
|
proc chart data=shirts;
vbar size / type=percent; |
|
title 'Percentage of Total Sales for Each Shirt Size';
run; |
|
Percentage of Total Sales for Each Shirt Size 1
Percentage
| *****
| *****
40 + *****
| *****
| *****
| *****
| *****
35 + ***** *****
| ***** *****
| ***** *****
| ***** *****
| ***** *****
30 + ***** *****
| ***** *****
| ***** *****
| ***** *****
| ***** *****
25 + ***** *****
| ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
20 + ***** ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
15 + ***** ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
10 + ***** ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
5 + ***** ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
| ***** ***** *****
--------------------------------------------
large medium small
Size
| |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.