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

This is an imitation of the map found at www.igeo.ufrj.br

I had to estimate & type in their data by hand, so it's not guaranteed to 
be 100% accurate -- this is just a proof-of-concept! :)

I combine a world map, and my annotated circles (using annotate pie function),
and some annotated longitude/latitude gridlines, and then "gproject" them
(using the 'robinson' projection).  I do this so that the circles and gridlines
will be guaranteed to line up at the exact correct locations on the map.
I then separate them and then use "proc gmap" to draw the map, and annotate 
the circles & gridlines onto it.

One trick I use - the world map is a huge dataset with lots more resolution
than I need, so I only take the obsns where density<=1 (the density is a
variable created by greduce, which is used for reducing the granularity,
and thereby reducing the size of the dataset, making it draw quicker).

I use "goptions iback='banker.gif' imagestyle=tile;" to draw the $$ 
logo in the background.

I add charttip/flyover-text to the annotated circles, using the annotate
dataset's "html=" variable, and put the text in the "title=" of that variable.
Also, for fun, I added href= drilldowns, so that when you click on a citie's
circle, it does a google search for "money laundering" pages about that city :)

Back to Samples Index