Skip to content
Related Articles

Related Articles

Treemap in Tableau
  • Last Updated : 01 Oct, 2020

In this article, we will learn how to draw treemap in tableau worksheet to do further operations. For this first look into these two terms:

  • Tableau: Tableau is a very powerful data visualization tool that can be used by data analysts, scientists, statisticians, etc. to visualize the data and get a clear opinion based on the data analysis. Tableau is very famous as it can take in data and produce the required data visualization output in a very short time.
  • Treemap: Treemap is a form of a chart with rectangles. Here the division of field is shown in the form of rectangles with respect to the value of that field. The whole view part is divided into small rectangles according to the percentage value just like a pie chart.

Dataset used in the given examples is Dataset.

For this we have to follow some steps :

Open the Tableau tool and connect a dataset into it. Drag and drop the one sheet of the connected dataset. Click on sheet1 to open the tableau worksheet. On clicking Sheet1 you will get whole dataset attributes on the left side and a worksheet for work.



To draw a treemap you have to select a minimum of two attributes (one in the row and one in the column) by drag and drop then select the chart option as a treemap.

Example 1: In this example, you can use the following steps to draw a treemap.

  • Drag and drop the date field in column and Ship Mode field in row.
  • Apply marks by color of discount field.
  • Choose the chart as tree map.

Example 2: In this example, you can use the following steps to draw a treemap.

  • Drag and drop the date field in column and market field in row.
  • Apply marks by color of sales field.
  • Choose the chart as treemap.
  • The use the concept of hierarchy and its expanded form.

Example 3: In this example, you can use the following steps to draw a treemap.

  • Drag and drop the Category with Sub-category field in column and Region field in row.
  • Apply marks by color of profit field.
  • Choose the chart as treemap.
  • Apply marks by the label of profit.


Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :