Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
See my blog for more information about this graph!
In addition to the HTML href= drilldown, and title= text,
I'm using OnMouseOver= to call a custom javascript function
to display an image (of the state quarter) in a popup window.
If you have popups disabled (such as in IE), you might have
to also hit the Ctrl key for the first state you mouse over
to allow the popups (once the popups are allowed, then you
don't have to hold down the Ctrl key anymore).
-----
The important bits of code tricks - in the ODS statement, I specify
the 'no_bottom_matter' option, and then at the bottom of the
sas job, I use a filename with the 'mod' option to modify the
generated html, and then append the javascript to the bottom
using sas 'put' statements.
Back to Samples Index