EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • Featured Skills
    • New & Trending
    • Fresh Entries
    • Finance
    • Data Science
    • Programming and Dev
    • Excel
    • Marketing
    • HR
    • PDP
    • VFX and Design
    • Project Management
    • Exam Prep
    • All Courses
  • Blog
  • Enterprise
  • Free Courses
  • Log in
  • Sign Up
Home Data Science Data Science Tutorials Tableau Tutorial Treemap in Tableau
 

Treemap in Tableau

Priya Pedamkar
Article byPriya Pedamkar

Updated March 20, 2023

Treemap in Tableau

 

 

Introduction to Treemap in Tableau

Treemap in Tableau is a basic chart type that is represented by nested rectangular boxes. This chart can be useful for large datasets for visualization. Treemap is the graph that can mark the hierarchical data for comparative analysis. Treemap is an important chart to analyze the anomalies in the data set. There are some limitations to the tree Map such as it provides very limited customization features to the user and it is not efficient in representing the data ranges. It is a good practice to add proper labels, color, size and naming conventions to the treemap in Tableau that creates more meaningful visualizations.

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

Benefits of Treemap in Tableau

The benefits are as follows:

  • This chart works really well for big amount of data. When the data increases it also increases the problem of understanding it. There is no such problem with Treemap charts as the related labels are associated with the data it represents.
  • Treemap charts are really effective practice when you want to communicate and consume a good number of marks on a single view. With this crucial behavior, a user can easily spot patterns and relationships between them otherwise not possible.
  • The hierarchical data representation technique nested on a tree-like structure.

Use Case of Treemap in Tableau

A tool/practice/technique holds its importance in a similar sense when to use it is equally important to know. Since very chart has a working range, let us see where a Treemap chart holds their importance and how –

  • Only when you have to work on any two quantitative values.
  • Only when you have a very huge hierarchical data with space to decide.
  • If you are looking to obtain a quick and high-level summary for the anomalies and similarities within one and multiple categories of working data.

Process in Treemap in Tableau

We will construct a treemap chart that will depict no profit and no sales that happen in certain years With related profit Rations.

For this, we need the following data

  • Region
  • Year of Order
  • No of sales
  • Profit ratios

This is how a blank tableau dashboard looks like, as a user we have to connect the tableau application to a dataset. Refer to the below-mentioned screens.

Treemap in Tableau 1.00

You can see in the main section (black area) that has a ‘Superstore’ dataset which comes preinstalled with the application. We will work on this dataset to construct a Treemap chart.

Click on the Sample Superstore dataset, and you will get a screen like shown below –

Treemap in Tableau 2

Sample Superstore is loaded completely, at the bottom of the screen we can see multiple tabs are listed which are the content of the data set. These are a kind of reference charts for working data. Now, we will make our own Treemap chart, once we make a fresh worksheet on the dashboard you will get a screen like below –

Treemap in Tableau 3

Note – A Treemap chart considers and works only on two-dimensional data. We can see in the above screen on the left-hand side there is ‘Dimension’, ‘Measures’ and ‘Parameters’ sections. All these hold different forms of data or data measuring techniques. If you see the below screen, you will get to know for a Treemap chart we need at least 1 dimension and at least 2 measures.

Treemap in Tableau 4

Our next task is to drag and drop data from the Dimension and Measure section. From here the actual chart creation begins.

We want our chart to have YEAR and REGIONAL details at base. So, we drag and drop the Region and Year of Order date to ‘Text’. Once we do this we will get the below screen.

Treemap in Tableau 5

In the above image of Treemap in Tableau, we can clearly see the Regional details (like Central/East/South/West) and Year of order details (like 2014, 2015….2017).

Now we will add the Sales details to the chart by drag and drop ‘Sales’ to the ‘Size’ section (present under the Marks). Refer to the below mentioned screen.

Treemap in Tableau 6

With this we will now add the ‘Profit’ into the chart, the chart will then show the profits earned forgiven no of sales in a particular region over a certain period of time.

profits earned forgiven no of sales

This is the foundation of a Treemap chart, but we want to sort the profit as per the colors. For this, we have to drag and drop the ‘Profit’ to the ‘Color’ marks section. Have a look at the below-mentioned screen.

Foundation of chart

The data in the Marks section says the kind of details they will reflect. Have a look –

Data in mark section

This is how we make a Treemap chart in tableau, there can be some customization as per the need but the overall process is the same, drag and drops the working data.

Limitations of Treemap in Tableau

The following are some of the limitations:

  • The Treemap chart fails to display data with varying ranges.
  • We have seen the two quantitative variables which we used in our case (i.e. country and GDP) here the limitation for the Treemap chart is cannot tolerate a negative value or parameters.
  • No sorting options regarding the chart are provided to users.
  • Not suitable for prints as it contains a large set of data points.
  • Very fewer customization options for users.

Conclusion

So, the Treemap chart is preferred when you have to show the cumulative totals for the working data. You can also include labels like date, time, name, and budget while creating the chart.

Recommended Articles

This has been a guide to Treemap in Tableau. Here we discussed its Concept and Process, Use cases, Benefits and Limitations of Treemap in Tableau. You may also look at the following articles to learn more –

  1. Tableau vs QlikView
  2. Heat Map in Tableau
  3. HashMap vs TreeMap | Top Differences
  4. Guide to Hashmap in Java
  5. What is TreeMap in Java? | Constructor and Methods

Primary Sidebar

Footer

Follow us!
  • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
  • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
APPS
EDUCBA Android AppEDUCBA iOS App
Blog
  • Blog
  • Free Tutorials
  • About us
  • Contact us
  • Log in
Courses
  • Enterprise Solutions
  • Free Courses
  • Explore Programs
  • All Courses
  • All in One Bundles
  • Sign up
Email
  • [email protected]

ISO 10004:2018 & ISO 9001:2015 Certified

© 2025 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Data Science Course

Hadoop, Data Science, Statistics & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA Login

Forgot Password?

🚀 Limited Time Offer! - ENROLL NOW