How to make a mosaic plot
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a text column for Columns, a text column for Segments and a number column for Value.
-
Check the columns
The mosaic plot picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a mosaic plot?
A mosaic plot crosses two categorical variables: column width shows the share of one variable and segment height the share of the other within each column. It shows how two categories relate in a single rectangle.
How to read it
Each tile's area is the share of all cases with that combination. If segments line up at the same height across columns, the two variables are unrelated; uneven heights show an association.
When to use it
Two categories crossed: column width is one, segment height the other. It is one of the part to whole charts, which show how a total splits into its parts.
If one variable is a measure rather than a category, use a Marimekko chart. For a simple breakdown of totals by category, a Stacked column is easier to read.
Tips for a better mosaic plot
- Supply one row per combination of column and segment, with a count or value.
- Keep each variable to five or fewer levels so tiles stay readable.
- Order levels the same way in every column so differences in height stand out.
Data you need
One row per item with a text column for Columns, a text column for Segments and a number column for Value. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Region | Plan | Customers |
|---|---|---|
| North America | Starter | 420 |
| North America | Pro | 610 |
| North America | Enterprise | 180 |
| Europe | Starter | 380 |
| Europe | Pro | 450 |
| Europe | Enterprise | 140 |
| Asia Pacific | Starter | 520 |
| Asia Pacific | Pro | 260 |
Other charts for the same data
More part to whole charts
Questions, answered
- What is a mosaic plot?
- A mosaic plot crosses two categorical variables: column width shows the share of one variable and segment height the share of the other within each column. It shows how two categories relate in a single rectangle.
- How do you read a mosaic plot?
- Each tile's area is the share of all cases with that combination. If segments line up at the same height across columns, the two variables are unrelated; uneven heights show an association.
- How do I make a mosaic plot?
- Paste your data into the chart maker with a text column for Columns, a text column for Segments and a number column for Value. The mosaic plot draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a mosaic plot?
- Two categories crossed: column width is one, segment height the other. It belongs to the part to whole family of charts, which show how a total splits into its parts. If one variable is a measure rather than a category, use a Marimekko chart. For a simple breakdown of totals by category, a Stacked column is easier to read.
- Is this mosaic plot maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the mosaic plot as SVG or PNG.