Convert an am5hierarchy series into TreemapPoint data.
Every node is emitted, not only the leaves: the trace derives a branch's
total from its children, but a branch that declares a value of its own may
carry mass no child accounts for, and only a declared value can say so. A
node with no value of its own is emitted without one and totalled from
below, which is the ordinary case for a branch.
Convert an am5hierarchy series into TreemapPoint data.
Every node is emitted, not only the leaves: the trace derives a branch's total from its children, but a branch that declares a value of its own may carry mass no child accounts for, and only a declared value can say so. A node with no value of its own is emitted without one and totalled from below, which is the ordinary case for a branch.