Click here to see the SAS code.
Click here to see the example.
This is a very pleasant-looking map, and was not too difficult to create.
I subset out the maryland map from the maps.county data set,
and I then gproject it to "straighten" it (you can't gproject
maps.uscounty, so you'll want to use maps.uscounty!).
I create a a data set, and assign a 'region', to control how the
areas are colored. I also add html title= charttips containing the
county names (which I merge in from the maps.cntyname data set)
and href= drilldowns so you can click and go to a more detailed
page on the maryland website.
I annotate some text using the "brush" font on the left side of
the map, and I annotate a "north" arrow image on the right side.
I choose the desired/pleasant colors, and specify them using
their RGB hex codes in the goptions cback, and pattern statements.
Also, I make the outline color of the map areas (coutline) the
same color as the background, giving the illusion that the
outlines are transparent and that you're seeing the background
between the land areas.
Back to Samples Index