Examples / Treemap · Taxonomy Docs →

Treemap of a taxonomic tree

The taxonomy as nested rectangles, each sized by the number of hits below it. Click a rectangle to descend into it and use the breadcrumb bar to come back up. getLevel is the interesting part: instead of the default node depth it returns the index of the node's taxonomic rank, so colour follows rank rather than distance from the root, and levels tells the treemap how many of those ranks exist.