Click here to see the SAS code.
Click here to see the example.
In this example, I create a custom sas/graph map data set,
where each 'dot' is a separate area in the map. For each
dot, I run through a 'do loop' in a data step, and calculate
the x/y coordinates along the outer edge of the circle, and
output them into the data set for that dot's id#.
I then use sas/graph "proc gmap" to draw the map containing
these circular map areas. I provide some data that has id#'s
that coorespond to the id's used for the circles in the map,
and I color the circular areas based on some variable in the
data (in this case the variable is named 'value').
I use gmap's "html=" option to specify html title= charttips/
flyover-text, to show lots of info about each circle in the
map when you mouse over it (you must use the Internet Explorer
web browser to see the chart tips).
Back to Samples Index