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

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

This is one way to do the "bullet graphs" that Stephen Few
describes in his new book.

It uses SAS/Graph 'proc gchart' and does an hbar (horizontal
bar chart), and then annotates the 3 gray areas behind the 
bar (using the annotate 'bar' function) to represent the
performance ranges (such as good/fair/poor).  And then a 
thick line segment is annotated across the bar, representing
the target value.

The automatic bar midpoint label (left axis) is made white
so it blends in with the white background, and custom text
is annotated in it's place (this allows multi-line text
to be more easily positioned).

Here is another example that shows how to put several 
bullet graphs on 1 page:

  Multiple bullet graphs




Back to Samples Index