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

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

This is my SAS/Graph imitation of the following graph:
http://awesome.good.is/transparency/web/1102/earthquake/flat.html

Note that my entire info-graph is created programmatically
(except for the 2 images of the cities, of course), and is
data-driven (including the location & magnitude of the 
earthquakes).

This took a *lot* of highly custom SAS/Graph code, and 
placing the labels was a lengthy process of trial-and-error.
But ... it proves that it can be done with SAS! :)

Note a few improvements & corrections over the original...

When you view the image with the html overlay: plates_collide.htm,
you get html mouse-over text for each of the earthquakes,
so you can easily/directly tell the exact city/date/magnitude/fatalities
without having to follow the line to the printed label.

In the table at the left edge of the info-graphic, I sort the
values from small earthquakes to large, so that the table 
"flows" to the info below it (ie, right after the 8.0+,
then you have the largest recorded earthquake ... 9.5).

Also, in the original, the 2nd item in the size-legend was
labeled "6.4-6.9" and should have been "6.5-6.9".
(*** this is a data-integrity correction!)

In the original, the label below Valdivia listed the date as
"5,22/1960" and I corrected this in my SAS version to "5/22/1960"


Back to Samples Index