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

I had seen a plot like this on the Census website, and I thought 
it would be a good one to try to imitate using sas/graph (a 
challenging chart, but do-able).  I later found out that that 
the census had used sas to create their chart - how ironic! :)

Basically, I sort my data by the average travel time, and then
so a scatter plot.  I use a 'trick' y-axis (axis1) and suppress
the normal labels, and then I annotate my own labels with the
state names.  

Also, on each marker, I annotate a line across it, and then 
annotate a little bar at each end of the line (making it look
kinda like a spaceship fighter flying right at you ;)
The dot/marker represents the average time, and the annotated
bar represents the upper & lower bounds.  I use gplot's html=
option to specify a variable containing the html title= 
charttip/flyover-text, so you can mouse over the markers 
and see detailed info about the values that marker represents.


Back to Samples Index