Part-whole
Pie, donut, treemap and sunburst for categorical and hierarchical shares.
Quarterly revenue mix in millions (fictional Example Co.).
Data contract
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | yes | — |
description | string | yes | — |
data | PartWholeDatum[] | — | Flat slices: { id, label, value } — pie and donut |
root | PartWholeTree | — | Hierarchy: { id, label, value? | children[] } — treemap and sunburst |
labels | PartWholeTableLabels | — | Table chrome copy |
Part-whole examples
Revenue mix
Platform is the largest share, followed by services, support and other.
- Platform
- Services
- Support
- Other
Open data table
| Category | Value |
|---|---|
| Platform | 42 |
| Services | 28 |
| Support | 18 |
| Other | 12 |
Revenue share
The same revenue mix with the total in the center.
- Platform
- Services
- Support
- Other
Open data table
| Category | Value |
|---|---|
| Platform | 42 |
| Services | 28 |
| Support | 18 |
| Other | 12 |
Revenue by team
Area encodes each product and service revenue amount.
- Platform
- Support
- Implementation
- Training
Open data table
| Category | Value |
|---|---|
| Harbor Notes | 100 |
| Product | 60 |
| Platform | 42 |
| Support | 18 |
| Services | 40 |
| Implementation | 24 |
| Training | 16 |
Revenue hierarchy
Inner ring groups product and services; outer ring shows their parts.
- Product
- Platform
- Support
- Services
- Implementation
- Training
Open data table
| Category | Value |
|---|---|
| Harbor Notes | 100 |
| Product | 60 |
| Platform | 42 |
| Support | 18 |
| Services | 40 |
| Implementation | 24 |
| Training | 16 |