Click here to see the SAS code.
Click here to see the example.

This one is almost like using sas/graph's "annotate" as my personal 
drawing package ;)  

This example uses the v9.2 "albany amt" font, so it can run on
all platforms.  If you run it prior to v9.2, you'll need to change
"albany amt" to "arial", and possibly make a few adjustments to the
x/y positioning of the 'ne sug' text so it will line up right
with the crescent.

In this example, I thought it would be a neat test of sas/graph to see
if I could use it to imitate the NESUG (North East SAS Users Group) logo.

Basically I subset the US map and take just the northeast states,
plus Tennessee.  When I draw the map, I make the NE states green,
and Tennessee white (I use tennessee just to add some white-space
on the left.

I annotate a big/black circle (pie) behind the map, and then I annotate
a big white circle (slightly offset from the black one) on top of the
black one -- this draws the black crescent around the map.

I line up the 'nesug' letters so that the edge of the 's' lines up 
just right with the black crescent, and make it look like they blend.

I use gchart's html= option to specify a variable containing the
html title= charttip/flyover text, so that when you mouse over the
states you see the state names.

This might be easier to do with an interactive drawing package, 
but I thought it was kinda 'neat' that I could do it with sas :)

Back to Samples Index