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

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

See my blog for more information!


Using data from:
http://www.census.gov/
Here is the Census 2010 page:
http://2010.census.gov/2010census/data/

And their csv for 'Population Change' is here:
http://2010.census.gov/2010census/data/pop_change.csv

-----

Per my SAS map ...

I move Alaska & Hawaii from their usual SAS-position
to the positions used in the Census map.

I create rectangular 'fake' map areas to the right of
the map for the small northeast states, so the user can
see their color, and mouse-over them easier.

And I use javascript onmouseover to popup a graph of
the historical population for each state, when you 
mouse over them.  (You can also click on each state,
to drilldown and see that state's bar chart in the 
browser, if you like).

-----

Depending on your browser settings, the popup graphs *might* 
try to come up in other tabs, rather than as popups (which
isn't going to work nearly as well).

For example, if your IE browser is set to always open pop-ups 
in a new tab, changing that to "let IE decide" should fix
that problem for you :)

Back to Samples Index