Explore treemaps, how you use them, what you use them for, and the advantages and disadvantages of applying this powerful visualization tool.
A treemap is a data visualization tool that allows you to view hierarchical data represented as colored rectangles of varying sizes. Treemaps display these rectangles, which represent different categories in a hierarchical structure, in a shape similar to that of a tree. Viewing data in this way makes it possible for you to see and compare patterns and inconsistencies. Professionals in a range of industries, including health care, finance, business, politics, and research, use treemapping. They use treemaps to visualize and understand complex sales trends and patterns and efficiently represent medical data.
Explore how treemaps work when to use a treemap effectively, and the pros and cons of treemapping as a data visualization tool.
Treemaps represent hierarchical data using rectangles that vary in size and color. Each rectangle represents a category within the hierarchy, or “tree.” Invented by Ben Shneiderman in 1990, treemaps make excellent use of small spaces to translate large amounts of data and are effective ways of viewing data to spot patterns.
Data analysts create treemaps by using computer programs and algorithms. You read them by looking at the sizes of the various rectangles and their relationships. Different colors represent different things, and you can use them in any way that works for you. For example, you may use dark colors to represent extremes, or you may use a continuous color palette to show how profit gradually increased over a fiscal year after the implementation of a new advertising campaign, indicating its effectiveness.
For more complex data, you can nest boxes together to form categories of data. For example, you can create a treemap for each of the departments within your organization. You can use the branch of each treemap to represent the given department and use rectangles under the branch as the leaves to depict the sales information for that department’s various items.
Treemaps are very versatile. You can use them across multiple industries to quickly create an effective visualization of large amounts of complex data, which may not be possible with other charts and diagrams. If your data is hierarchical, with distinct numerical values, and you’re looking to display only positive values, you can create a treemap.
Some examples of applications of treemaps across industries include:
Health care: Health care organizations can use treemapping to present large volumes of hierarchical medical data so that stakeholders can quickly see a visualization of complex data, such as vaccination rates among various age groups.
Business: Businesses can use treemaps to collate and present business data, sales data across industries, or profits per employee.
Politics: Politicians and election teams can use treemaps to display political data, such as how well one party or candidate is doing against another before an election.
Research: Researchers can use treemaps to compare study participants’ demographic information and look for trends and patterns.
Finance: Investors and finance professionals can use treemapping for portfolio management to analyze investment allocations and portfolio diversification.
Treemaps are effective visualization tools that you can use in a range of industries, and to represent all kinds of hierarchical data. This tool comes with advantages over other methods, but as with anything, it also comes with limitations.
Treemaps make it easy to view and compare data:
Small space: You can use a treemap to efficiently utilize space in a report, visualizing large data sets compactly.
Hierarchical design: You can use the hierarchical design to go as deep as you need to in the data while still operating with a simple visual design adding as many levels as you need.
Different sizes: You can break larger categories of data down into smaller categories to help viewers quickly inspect the data and draw conclusions, such as that a café sells more cookies than muffins in the afternoon.
Different colors: You can use different colors for different attributes, such as departments, product types, or subgroups of people. For example, using blue to represent the overarching category of office product sales and incorporating different shades of blue to represent each subcategory, such as copy paper and writing utensils.
However, treemaps do have some limitations:
Cluttered: The treemap’s design means that it can become cluttered when representing large data sets.
Difficult to read: Treemaps can potentially be difficult to read because they contain large numbers of rectangles (leaves) at multiple levels (branches).
Difficult to interpret: Treemaps can make it difficult for viewers to interpret the various levels of the hierarchy; effective treemaps have obvious levels of hierarchy and no more than four rectangles.
Numerous software options: Many tools and software options are available to use to create a treemap, and some are more effective than others, so data analysts must conduct research and choose the option with all the functions they need for their project.
Treemaps are easy to create with the right software and tools and a basic understanding of data visualizationm. You can use Tableau or Power BI software or make your map in Microsoft Word or Excel.
Prepare your data: To create a treemap, select the data you want to use and input it into your data visualization tool. By creating levels of data (branches and leaves), you'll be able to create a hierarchical structure.
Assign numerical values: Give a numerical value to each data set to determine the color and size of the rectangles according to your specifications, such as color palettes and filtering.
Add labels: Label each rectangle in your map to clearly show what each element represents.
Use your treemap: Use your treemap to get to know your data by identifying patterns and inconsistencies and making comparisons.
Treemaps are an effective way of displaying data in a visual format, making it easier to see patterns and inconsistencies, and to draw conclusions and make comparisons. Learn the data visualization skills that you need to start creating treemaps with the Google Data Analytics Professional Certificate on Coursera. Or hone your data visualization skills with Macquarie University’s Excel Skills for Data Analytics and Visualization Specialization.
Editorial Team
Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...
This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.