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

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

See my blog for more information about this graph!


This is a very compelling and vivid map, showing the rainfall measured
at various measuring stations, from Hurricane Fran (in 1996).

I start with maps.county, and subset out the counties of North 
Carolina, South Carolina, and Virginia.  (Remember to start with 
maps.county rather than maps.uscounty - you need county because
it has unprojected long/lat coordinates, which allows you to line
up the long/lat coordinates of the rainfall measuring stations.)

I then create an annotate dataset of the long/lat coordinates
for the rainfall measuring stations, and create some blue dots
(sized by the amount of rainfall).  I use the html variable to 
store my html title= charttip/flyover-text, and for some extra
"flash" I code in a drilldown (using href=) to a thermal image
of the hurricane when it was passing over this area.

I also create red & white annotated symbols indiating the path
of the hurricane.  

I combine the annotated dots with the map, and "gproject" the map,
and then separate the 2 data sets.  I use sas/graph "proc gmap" to 
draw the map, and annotate the dots.

Additionally, I create an annotate data set containing the state
outlines, so you can tell which counties belong to which state.
This was done by gremoving the internal borders, and using 
annotate move/draw functions to draw the outline.

Be sure to hover your mouse over the blue dots, and red/white 
hurricane markers, to see the detailed information in the 
chart tip!


References:

The precip data is online at the following location:
fran96_precipdata.html

The IR/drilldown picture is from online at:
hurricane-fran-ir-landfall.gif


Back to Samples Index