Charts
TwCircularTreemapChart
TwCircularTreemapChart is a Blazor circle packing chart: a circle per leaf of a tree, sized by value and packed inside its parent's circle.
Last updated
Please be aware this component is new, may have bugs and/or be subject to change. Please report any bugs at
https://github.com/twblazor/twblazor/issues.
Basic usage
TwCircularTreemapChart takes a tree of ChartHierarchyNode values. Every leaf becomes a circle whose area follows its Value, packed inside a circle for its parent. Each top-level node has its own color and legend entry.- Documents
- Media
Deeper trees
Nodes nest to any depth, and every level gets its own enclosing circle, so the grouping reads at a glance. A larger
Height gives small circles room for their names.- Product
- Commercial
- Operations
A flat list
Without children every node is a leaf, and the chart becomes a packed bubble chart: one circle and one color per value.
When to use
Circles leave gaps, so sizes are harder to compare than on TwConvexTreemapChart; in return the nesting is easier to see. A name too long for its circle is cut short. Nodes with no value are left out.
Summary
Tooltips and the table view give the path and the value of each leaf. Tooltips also give its share of the whole.