Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
Since we don't ship a dma (demographic marketing area) map in the sas maps libname,
I decided to 'derive' one from other maps/files...
First I Get a list of all the DMA's and their county & state, from maps.usaac.
Then I merge it with maps.uscounty US county map.
Then I remove the internal boundaries within the dma groupings (using 'proc gremove'),
using the county outlines.
Then I add charttips so you can see the dma number when you mouse over the land areas.
(And I merge in the city names for the dma's, from a spreadsheet)
Note that I'm running this at v9.2, so that I get the long color-list
from the new ODS Styles.
Back to Samples Index