Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
I use a 'trick' in this map.
Gmap only plots the 'block' bars/clyinders/etc on map areas.
The US County map does not have map areas for the cities (only counties).
Therefore I create a fake map area (1 x/y point) for each city (the area/point
is so small you don't even see it on the map, because the bars/cylinders cover
them up). All the rest of the map areas (the actual counties) don't have any
matching data in the data= data set, therefore all the counties get colored
via the 'cempty=' option, and they do not get a bar drawn on them.
And, of course, a 3d map is a terrible way to visualize this data.
Some of the 3d bars obscure other bars, and it's difficult to compare the
heights of various bars. A bar chart is a much better way, and I have
included one below the map.
Back to Samples Index