Click here to see the SAS code.
Click here to see the example.
This is a plot using "plausibly real" data, to show something
useful that sas could really indeed be used for (actually,
this data might lean even more towards being 'real', rather
than just plausibly real, but I'm not going to tell you
which large privately-owned software company this data
might have come from! ;)
This is probably one of the simplest examples on this page.
It's a regular old bar chart, with a 'subgroup' to get the 2 different
color/segments of the bar. I use gchart's "html=" option to code in
some charttip/flyover-text so you can mouse over the bar segments and
see the detailed data. And on the maxis (midpoint/date axis) I use
angle=90 on the 'values' to make the dates print sideways, so they'll
fit better. Then, in the legend, I use the shape= to make the
color swatches a more square shape, so they'll look better and
take up less space.
Back to Samples Index