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

---------------------------------------------------------------

This is a SAS/Graph imitation of the following map:
http://awesome.good.is/transparency/web/1101/census-data/flat.html

For the big map, I use v9.3 'alpha-transparent' colors, and overlay the
three maps using 'proc greplay'.  I had to use "lighter" (more transparent)
versions of the colors than the original, so that the top/last color wouldn't
block out the other 2 colors.  I think that in the original map, they used
"subtractive" printing colors, and printed the map out, and then scanned it
back in (if you look closely, it looks like a scanned-in image).

I added html mouve-over text to the counties in the big map, so you can
see the actual values of each county.

The 3 overlaid maps in the bottom/left corner are also overlaid using
greplay, but in these I did not use transparent colors (you get bad
side-effects around the borders, which becomes very evident in 'small' 
maps).  Also note that I "skewed" the coordinates some when I created
the greplay template, to make these have a 3d-ish look/orientation.

In the 3 individual maps along the left side, I use regular colors
(rather than alpha-transparent) - otherwise the borders would look
bad, because the anti-aliasing and transparency don't work well 
together.  I annotate the range-numbers between the legend color
chicklets in these 3 maps also.

One small problem - the county names in the SAS maps doesn't quite match 
the county names in the data, for every county ... therefore a just made 
the "blank" counties light gray (using the new cdefault= command).

Back to Samples Index