plotomics
    Preparing search index...

    Interface TreemapOptions

    interface TreemapOptions {
        colorBy: "value" | "parent";
        colormap: "viridis" | "rdbu" | "ltc" | "ltcdiv";
        labelMinSize: number;
        paddingInner: number;
        theme: Partial<PlotomicsTheme>;
        tile: "squarify" | "binary";
    }
    Index
    colorBy: "value" | "parent"

    Color leaves by their top-level ancestor (categorical) or by value (ramp).

    colormap: "viridis" | "rdbu" | "ltc" | "ltcdiv"

    Sequential/diverging ramp used when colorBy is "value".

    labelMinSize: number

    Minimum tile side (px) required before a label is drawn, at the default text size. It grows in step with theme.fontSize.

    paddingInner: number

    Padding between sibling tiles, in CSS pixels.

    theme: Partial<PlotomicsTheme>
    tile: "squarify" | "binary"

    Tiling algorithm: squarified (golden-ratio rects) or balanced binary.