Click here to see the SAS code.
Click here to see the example.
Click here to see the SAS code for the individual plots.
Click here to see the individual plots.
---------------------------------------------------------------
In this example, I try to show "yet another" way to display some data that was a
topic of discussion on Stephen Few's Perceptual Edge website.
He started with some data that had been used in an Excel graphics example, showing
how both the old Excel and the new Excel could plot the data in a bar chart.
Stephen then improved on the design, displaying the data as a simple line
plot for each continent. I try to improve on that design, by displaying
the line plots on a world map, overlaying the plots onto the map.
My version probably isn't the perfect/eureka plot, but I think it does
help add some visual insight/cues, by displaying the plots in their
geographical context on a map.
I use 2 separate sas jobs to create this example (I could have combined
them into one, but chose to do it in 2 steps). First, the plots.sas job
draws the individual plots for each continent. I use "goptions transparency"
so that the plots have a transparent background. Next, the pltmap.sas job
draws the world map, and annotated the plots onto their respective continents.
Note that since the plots have transparent backgrounds, they do not obscure
the map behind them (honoring transparency like this is a view/upcoming
feature in v9.2 sas).
Back to Samples Index