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

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

The data in this map is based off of this neat 2009 WFTDA Map:

   http://www.wftda.com/wp-content/uploads/2009/07/wftda_regionsjune20091.jpg

That map looks neat, and has a lot of info on the map, but in order
to read all the info they had to make the map pretty big.
My strategy was to make the map smaller, and to put all the text
(such as team names) in html mouse-over text, and also provide 
html drilldowns to launch google search on the team names, 
or go to the team's website.

I use the new v9.2 "proc geocode" to do city-level geocoding, and look up
the lat/long of each city.  I hard-code the lat/long for the 2 Canadian
cities, and also Hawaii (because it's actual location is too far to the 
left/west of the us to fit on the map in a reasonable manner).

I annotate dots at the city locations, and I use the annotate html= variable
to hold the charttip & drilldown with the team name, etc.

I follow the map by a "proc report" table, which also has drilldowns.
The first drilldown does a google search on the name, and the 2nd drilldown
is to the team's actual webpage.

---

Note that there are other Roller Derby teams around the country - this map
is just the official WFTDA ones (ie, only the ones listed in the 2009 map 
in the link above).

Back to Samples Index