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

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

See my blog for more information about this graph!


Although this is a 'fun' example, it demonstrates some very useful
SAS tricks...

I use a data step to lay out a grid of data observations, and then
I use the SAS random number generator to randomly select an x/y
location for the 'hidden' number.

I use annotate do annotate an '8' at each data point, and a '6' at
the data point of the randomly-chosen x/y.  These characters (the
6 and 8) can be easily changed using the macro variables at the 
top of the program.

Every time you re-run this SAS job, a new random x/y location is
chosen for the '6'.


Back to Samples Index