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.
https://d3js.org/d3.v4.min.js
https://d3js.org/d3-scale-chromatic.v1.min.js