This Treemap was created using SAS/Graph proc gmap, and
a custom map data set created using some macros I wrote.
Click here to see details on how the macros work.

Click here to see the SAS code that calls the macros.
Click here to see the example.

This is another 2-level Treemap.
The first level (subgroup) is the type of disease, and the 2nd level
(the level of the individual boxes) is the name of the drug.

Both the size and the gradient shading represent the amount of money
made from this drug.  The drugs with big/dark boxes made more money
than the ones with small/light boxes.

One difference in this map from the others, is that this one allows
you to *drilldown*!  I used the html title= charttip/flyover-text,
and also coded in html href= drilldowns.  The drilldown has the 
urls of Treemap I have pre-created (one per type of disease).
When you drilldown, then each box is labeled by the name of 
the drug.

The drilldowns would have been much easier to do though sas/intrnet, 
where I could generate each drilldown Treemap on-the-fly when
the user clicks ... but in order to make this demo easy to 
carry to other systems, I did not want to require everyone to 
install sas/intrnet, and have the server running ... therefore
I pre-created all the drilldown maps and saved them on the disk).

Also, I annotate the pfizer company logo in the top/left of the page.

Back to Samples Index