Tableau - Tree Map


Advertisements


The tree map displays data in nested rectangles. The dimensions define the structure of the tree map and measures define the size or color of the individual rectangle. The rectangles are easy to visualize as both the size and shade of the color of the rectangle reflect the value of the measure.

A Tree Map is created using one or more dimension with one or two measures.

Creating a Tree Map

Using the Sample-superstore, plan to find the size of profits for each Ship mode values. To achieve this objective, following are the steps.

Step 1 − Drag and drop the measure profit two times to the Marks Card. Once to the Size shelf and again to the Color shelf.

Step 2 − Drag and drop the dimension ship mode to the Label shelf. Choose the chart type Tree Map from Show Me. The following chart appears.

tree map 1

Tree Map with Two Dimensions

You can add the dimension Region to the above Tree map chart. Drag and drop it twice. Once to the Color shelf and again to the Label shelf. The chart that appears will show four outer boxes for four regions and then the boxes for ship modes nested inside them. All the different regions will now have different colors.



Advertisements
E-Books Store