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

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

The main 'trick' in this map is that I'm using the projected lat/long points 
from mapsgfk.uscity as if they are 1-point map areas, and combining them with mapsgfk.us
actual map areas, and then doing a gmap 'block' map.  The real map areas don't have
any population data, so there is no block (bar) for each state, but only the bars
for the 1-point fake map areas (which are the cities).

I use the 'relzero' option, so that the bars are scaled proportionally - ie, most of
the bars are really short (close to zero).

I also use the ODS styles to do the gradient shading, from yellow to red.

It would be nice if I could do a very-thin outline around the bars, so overlapping
bars don't blend together ... but there just isn't room (not enough pixels).

Back to Samples Index