Procedure features: |
PROC
GTILE statement |
TILE statement |
TILEBY=( levels-list) |
COLORVAR=
option |
|
Data Set: |
SASHELP.SHOES
|
Sample Library Member: |
GTLSIMPL
|
PROC GTILE generates a chart for the SASHELP.SHOES data set. The size
of each tile represents the number of stores. The COLORVAR=SALES option specifies
that the color of each tile represents the sales revenue for that tile. The
visualization of the data with the GTILE procedure makes it easy to see the
data extremes for sales revenue relative to the number of stores.
GTILE Chart of SASHELP.SHOES (gtlsimpl)
The following chart shows the
result of drilling down on the region
labeled "Canada". The region was selected to further explore the
data. This region displayed the largest area of red, indicating a greater
amount of shoe sales.
Subset of SASHELP.SHOES where Region="Canada" (gtlsimpl)
|
ods listing close; |
|
ods html file="shoe_sales.html"; |
|
goptions reset=all device=java; |
|
proc gtile data=sashelp.shoes;
tile stores tileby=(region subsidiary)
/ colorvar=sales ;
run;
quit; |
|
ods html close; |
|
ods listing; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.