top of page

How to Create a Marimekko Chart in Tableau

Writer's picture: Bernard KilonzoBernard Kilonzo
How to create a marimekko chart in tableau

Introduction

A marimekko chart, also known as a mekko chart, is a type of data visualization that combines the features of a stacked bar chart and a treemap. It is used to display categorical data across two dimensions. The key characteristics of a marimekko chart are:

  1. The vertical axis represents one categorical variable, such as product category or market segment. The height of each bar corresponds to the percentage or proportion of the total for that category.

  2. The horizontal axis represents another categorical variable, such as brand or region. The width of each bar corresponds to the percentage or proportion of the total for that category.

  3. The area of each rectangle (the product of the height and width) represents the overall contribution or share of that combination of the two categorical variables.

This allows the chart to display the relationship between the two categorical variables, as well as the overall composition and proportions. Marimekko charts are commonly used for analyzing market share, sales, and other business data across multiple dimensions.

Step by step guide on how to create a marimekko chart in Tableau.

Using the sample-superstore data set, I am going to demonstrate how to create a Marimekko chart visualizing the proportion of Sales for two dimensions namely, Category and Region.

To create a Marimekko chart.

  • Drag the dimensions Region and Category to the detail shelf.

  • Next, add the measure Sales to the text/label shelf.

tableau view

Next, add a table calculation ‘Percent of Total’ on the field SUM([Sales]), make sure the calculation is computed using a specific dimension, in this case ‘Category’.

tableau table calculation

Next, let’s create a calculated field ‘% of regional sales’ computing the proportion of regional sales.

tableau calculation

Next, lets create another calculation ‘Running % Total’ – computing the running total of ‘% of regional sales’ as shown below.

tableau calculation

Next,

  • Drag ‘Running % Total’ to the columns shelf.

  • Add SUM([Sales]) which we have applied a table calculation to the rows shelf.

  • Change marks type to Bar chart.

column chart

Next, add the calculated field ‘% of regional sales’ to the size shelf, and choose Fixed option with alignment to the right.

merimekko chart

Next, set the table calculation ‘Running % Total’ to be computed using Region.

merimekko chart

Format the axis of the ‘Running % Total’ to percentage.

merimekko

Add the dimensions, Category and Region to color and label respectively.

merimekko chart

Format and customize the tooltip.

merimekko chart

Conclusion

If this post was helpful and you would like to receive more of these Tableau tips and tricks, kindly subscribe to our mailing list below.

If you like the work we do and would like to work with us, drop us an email on our Contacts page and we’ll reach out!

Thank you for reading!

Original.png

We Support You Deliver Business-Focused Solutions That Enable Data-Driven Decision Making.

  • Tableau profile
  • YouTube
  • White LinkedIn Icon
  • Facebook
  • X

QUICK LINKS

CONTACT US

+254 738 307 495

East Gate Mall, Donholm

3rd Floor Suite No. 3i

Nairobi, Kenya

Join our mailing list

bottom of page