All examples By author By category About

Kcnarf

Distorded Treemap - d3-shaped treemap

This block is a continuation of a previous block. Compared to the previous block (which was a recreation), this one aims to be a more realistic use case, and illustrates how one can distord a treemap in order to fit a particular shape.

This block vizualises the treemap of the D3'source code (data comes from mbostock's block: D3 Source Treemap). Hold on your mouse on a cell for some details.

Acknowledgments to: