Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
This is a SAS/Graph version of the dashboard on p. 91 of the following document:
Screen Capture
PDF Doc
This dashboard was done *entirely* with SAS/Graph - even the world map
in the background behind the left-half of the dashboard. (map code)
The main difference is that I used horizontal bar charts rather than pie charts.
I guess pie charts were an "ok" choice, since all the pie slices added up to the "whole" (100%),
but the very-narrow pie slices really bugged me ... for example, in the top/right pie you
could see the values hanging off several very-small pie slices, but you couldn't tell
which tiny slice went with which numeric label, because the slices were too small to
discern their "color".
Another difference is that I attempted to make the numeric labels more "crisp" and easier to read.
I also added html mouse-over, so you can see the values in text popups.
Also, with the html popup capability, I have the infrastructure to easily
add html drilldowns (via 'href='). I don't have any detailed data to drilldown to,
so I just drilldown to this description page for now.
Against my personal preference, I kept the "3d" look, because there are some very-short bars
in which the 2d version has nothing to mouse-over (with the 3d bars, there is the visiable
top-surface of the bars, even if their height is almost-zero).
Also, I changed the colors a little, so the the audience is not tempted to think
that the same-color bars in the left & right charts are related. Also, I made the
"combined" bar in the left-panel charts purple (since purple is what you get when
you combine blue and red).
Note that the heights of the bars in the left-panel are *not* proportional to each other
(this bothers me, but I did it the way they were in the original ... otherwise
the Asia bars would all be *really* short, if all the bars were to the same scale.)
Note that the heights of the 2 bar charts in the upper portion of the right-panel
*are* both plotted to the same scale (to 100%). I added gridlines behind them,
so you can more easily compare them, and easily see that they are to the same scale.
One other nice touch ... I created the dashboard as 2 separate pieces (left & right).
I display them side-by-side for the dashboard view, but they can also easily be viewed
separately such as ...
Left Side
Right Side
Back to Samples Index