What the node is called. Unique among its siblings, not chart-wide.
OptionalyThe node's magnitude.
Omitted for an interior node whose value is the sum of its children, which is the ordinary case. A declared value is kept even where it disagrees with that sum: a parent may carry mass no child accounts for, and overwriting it would be inventing data.
OptionalpathThe node's ancestors, root first, excluding the node itself.
A top-level node omits it or declares [].
OptionalkindWhat sort of node this is, as the diagram calls it, when the layer's x
label is not true of every node: a kanban board's Columns and Cards,
an Ishikawa diagram's Effect above its Categorys of Cause.
Announced in place of the x label for this node, and tabulated beside
its name. A node that declares none, or a blank one, and an ancestor no
point declares, are announced with the x label.
One node of a treemap, or of any other hierarchy drawn as area.
The hierarchy is declared as a path rather than as a parent pointer. A path is acyclic by construction and cannot dangle: there is no id to point at a node that was never emitted, and no way to author a cycle. Every producer has one -- a
d3.hierarchywalk yields it directly, and Plotly'slabels/parentspair resolves to it -- and it doubles as the breadcrumb the reader is told when they are several levels down.Interior nodes need not be declared. A layer emitting only its leaves -- which is what a treemap draws -- gets its interior nodes and their totals derived from the paths.
Example