Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
It ain't easy being a tester! - Especially coming up with new "tests"...
I often pick "Famous" maps, and try to duplicate them using SAS/GRAPH.
These make really good test-cases, because they force me to try out
mapping features that are needed to create that map (rather than
the features that are in our users' guide, and that are easy to do).
And also, the original map gives me a 'benchmark' to compare my map to.
The latest/greatest famous (or 'infamous') map I chose to duplicate was
Sarah Palin's map with the target/crosshair dots.
Here's a copy of her original map:
And, here's my SAS/Graph imitation:
There's a *lot* of SAS/Graph technology going on behind the scenes!
New 9.2 Proc Geocode was used to determine the lat/long locations of the dots.
New 9.3 "alpha transparency" was used to make the dots semi-transparent.
The target-dots and table are annotated on the gmap.
The red-US & white-Alaska icons are overlaid on the page using Proc Greplay.
And I added mouse-over text & drilldowns for the dots, in the html version:
sarahpac.htm
(note that this example is data-driven ... not just a bunch of hard-coded annotations!)
Back to Samples Index