There were 97 e-posters in The Quad demo room at SAS Global Forum this year. And the one that caught my eye was Ted Conway's "Periodic Table of Introductory SAS ODS Graphics Examples." Here's a picture of Ted fielding some questions from an interested user...
He created a nice/fun graphic, such that you could mouse over the boxes in the periodic table to see an image of the graph, and click it to see the SAS code. It's an interactive Powerpoint presentation with VBA macros, so unfortunately he wasn't able to fully demonstrate it fully on the tablets used at the demo stations. I thought that some other users might also have trouble viewing Ted's Powerpoint/VBA version on their computers, therefore I decided to create a simplified version to allow those other SAS users to still make use of the great information in his example.
But before we get to my simplified version of Ted's poster, here's a photo of a real periodic table to get you into the mood. My friend Trena works for the U.S. Census Bureau, and also teaches a few classes in her spare time. Here is a picture of the periodic table hanging in her classroom. Does this bring back memories of your college or high school chemistry classes?
And now, let's get to that periodic table of graphics ...
I created my periodic table layout using SAS/Graph and a custom Proc Gmap, with ODS HTML output (which produces a simple png file, with an HTML overlay with the mouse-over text and drill downs). When you hover your mouse over the boxes, you see a text description of the graph, and when you click the boxes it takes you to an html page that shows the graph and the SAS code used to create it. It's not quite as snazzy as popping up the graph when you mouse-over, but it's more likely to work on a variety of different computers. Here's a link to my SAS code, if you're interested.
Below is an image/capture showing my new version of the periodic table - click to see the full-size interactive version. This simplified version should work on pretty much any browser on any computer. The mouse-over text probably won't work on smartphones/tablets with a touch-screen (since they probably don't have a mouse), but you should still be able to click the boxes to see the graphs and code.
Hopefully you can use this as your starting point to get some simple code to start creating all these kinds of graphs - just swap in your similar data instead of the sample data, and you've got a basic graph that you can then start enhancing.
Note that Ted Conway gets all the credit for this ... he came up with the idea, the layout, and set up the code for all 68 of the examples. All I did was create a slightly different version of the top-level interface. (Thanks for doing the heavy lifting, Ted!)