This is a python toolkit for drawing treemaps. A treemap is a type of tree diagram that allows nodes to be compared according to some relative measure, in addition visualizing the heirarchical structure of the data.
Below is an example of a two-level tree drawn as a tree-map.
This library relies on techniques and code from this matlab package by Joel Hicklin from The MathWorks.