Procedure features: |
ID statement |
CHORO statement
option:
|
|
Sample library
member: |
GMPCHORO
|
This
example produces a choropleth (two-dimensional)
map that shows the population of countries in Europe. Since the DISCRETE option
is not used, the response variable is assumed to have a continuous range of
values. Because neither the LEVELS= nor MIDPOINTS= options are used, the GMAP
procedure selects a number of levels based on the number of map areas and
then calculates the appropriate response levels. The legend shows the range
of values for each level.
|
goptions reset=all border; |
|
title1 "Population in Europe";
footnote1 j=r "GMPCHORO"; |
|
proc gmap map=maps.europe(where=(id ne 405 and id ne 845))
data=sashelp.demographics(where=(cont=93)) all;
id id;
choro pop / cdefault=yellow;
run;
quit; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.