Function: addTreemap()
ts
function addTreemap(plot, opts): PatchesLayer;Defined in: charts/treemap.ts:158
Add a squarified treemap: one filled rect Patch per item plus centered labels. Composes Plot.addPatches — low-risk, no new layer type.
Parameters
| Parameter | Type |
|---|---|
plot | Plot |
opts | TreemapOptions |