Part of a whole
Marimekko / mosaic-width stacked chart
Uses column width for one total and segment height for within-column proportions.
- Chart
- Composition
- Multivariate comparison
What it answers
How do group size and within-group mix combine?
- Shape
- Variable-width segmented columns
- What it shows
- Joint contribution and group-size differences.
Example
The question
How do market size and our share combine across segments?
Market by segment (width) and our share within it (height)
Illustrative data. It belongs to no company.
When to use it
Use it when
Comparing composition while retaining unequal group totals.
Avoid it when
When readers cannot reliably compare variable-width rectangles.
How to read it
Read each column's width, then segment height within that column.
Note
Rectangle area represents joint contribution under consistent scaling.
The data you need
- Layout
- Long table
- Fields
- CategoryA: text; CategoryB: text; Count: nonnegative number
- One row is
- One category combination and its frequency. What is the grain?
- Rules
- Aggregate duplicate combinations. Preserve zero cells and use a positive total.
- Optional
- Raw alternative: one row per observation with both category columns. More factors are possible.
- Preparation
- Calculate group totals for column widths and component shares for within-column heights.
- Units
- Width =group total/grand total; height =component/group total; rectangle area encodes joint share.
Worked example
GroupA totals 40 with Yes 30; B totals 60 with Yes 20. Widths 40%/60%; Yes heights 75%/33.3%; rectangle areas represent 30 and 20 of 100.
| CategoryA | CategoryB | Count |
|---|---|---|
| A | Yes | 30 |
| A | No | 10 |
| B | Yes | 20 |
| B | No | 40 |
