Treemaps display hierarchical data as a set of nested rectangles. Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches. A leaf node’s

rectangle has an area proportional to a specified dimension of the data. It is an alternative way of visualizing the structure of a tree diagram. Treemap can be easily done using the Treemap library.

Once you control this technique, you can transform your static treemaps in interactive treemaps using the d3TreeR library. See several examples below