## Polygon sizing accuracy

FoamTree ensures that polygon areas accurately represent the weights defined in the input data. Each group's polygon area is proportional to its weight relative to its siblings.

This example shows the deviation between actual polygon area and ideal area for each group. A value of `+5.2%` means the polygon is 5.2% larger than its weight dictates. Colors indicate the deviation on a blue (too small) to yellow (perfect) to red (too large) scale.

Area accuracy is typically near-perfect regardless of the relaxation quality setting. The quality threshold controls polygon roundness (how compact and regular the shapes are), not area accuracy.

#### Experiments

Generate new data with uniform | balanced | unbalanced weights.
Set initializer to treemap | fisheye | black hole | order | random.
Set relaxation quality to highest | standard | low | none.

#### What's in the code?

- Advanced use of `groupLabelDecorator`
- Processing of the data object to add extra properties
- Customization of group rendering