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

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

http://earthquake.usgs.gov/regional/states.php?region=North%20Carolina

http://folkworm.ceri.memphis.edu/catalogs/html/cat_nceer.html
 years 1627-1985, minimum magnitude 3.0, 
 NCEER (National Center for Earthquake Engineering Research)
 (saved as cat_s_2932.txt)

Data...
http://folkworm.ceri.memphis.edu/catalogs/scratch/cat_s_2932

Data description...
http://folkworm.ceri.memphis.edu/catalogs/html/cat_nceer_help.html


SAS Tricks...

One 'neat' thing about this example is that it reads the data
directly from the Internet via a SAS "filename url" statement.
This way if the data changes, then the next time I run my
graph it will pick up the latest/greatest data.

Per graphical "tricks", I create the circle markers on the 
map using annotated function='pie', and I size & color the 
circles based on the magnitude of the quake.

The long/lat grid is also annotated, as well as the custom
legend in the top/left corner (when you annotate markers,
there is no way to get an automatic legend, therefore 
you have to annotate one).

I opted *not* to put charttips on the circle markers, because
there were so many overlapping ones that it would be futile
to try (you would never be sure exactly which circle you 
were seeing the charttip for).

I added an html drilldown to the title, so you can click there
to "drilldown" to the actual data.

Back to Samples Index