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

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

Note that this technique is included in the book SAS/Graph: Beyond the Basics,
and all the 'tricks' used to create it are described in great detail!

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

As in several other examples, I'm using the sas/graph trick where I use
an image of a floorplan map (in this case, a 'tif' file), and I create a
gmap with a rectangular area that has the exact same proportions as the 
image, and then annotate the image into that exact same area.  I then 
annotate a grid of dots and mouse over those dots to see
what the x/y of each important spot on the floorplan map is.  I then 
create a sas/graph annotate data set to annotate colored dots on the
map at the exact desired coordinates.

Following the floorplan map, I've included a geographical county map,
so you can look for geographical trends in the voting.

---

Now that this map is set up, it would be a simple matter to run it from
sas/intrnet, so that you could easily generate similar maps for all the 
other bills that were voted on.  (For this proof-of-concept, I had to 
get the data values by hand, one at a time, from the individual senators'
webpages, since I couldn't find a central repository of the data - but 
the people who run the government websites should have easy direct access
to all of the data.)

Back to Samples Index