1
00:00:01,940 --> 00:00:08,860
A tree map is a type of data visualization that displays hierarchical data in the form of rectangles.

2
00:00:08,860 --> 00:00:10,220
This is a tree map.

3
00:00:10,270 --> 00:00:13,060
What it's showing is the divisional sales distribution.

4
00:00:13,630 --> 00:00:16,650
By taking a quick look at this, I can tell

5
00:00:16,660 --> 00:00:22,550
I have three divisions, game, productivity, utility and I have different regions for each division.

6
00:00:22,660 --> 00:00:28,090
The division with the highest sales seems to be the game division because it's taking up the most area

7
00:00:28,090 --> 00:00:28,720
here.

8
00:00:28,810 --> 00:00:31,180
Then productivity then utility.

9
00:00:31,180 --> 00:00:39,520
Also notice that the rectangles here are organized in descending order. The bigger rectangles come first,

10
00:00:39,730 --> 00:00:41,920
the smallest one comes last.

11
00:00:41,950 --> 00:00:46,840
I also notice something is missing from the utility division.

12
00:00:46,840 --> 00:00:55,500
What seems to be missing here? It's the Asia region. Utility doesn't seem to be selling to Asia.

13
00:00:55,500 --> 00:00:58,230
These are the benefits of a tree map.

14
00:00:58,260 --> 00:01:06,690
It gives me a quick idea of how my data is organized. What it doesn't do by default is to show me exact

15
00:01:06,690 --> 00:01:13,050
numbers and allow me to compare each of these categories exactly with one another.

16
00:01:13,050 --> 00:01:17,610
For example, I can see that North America seems to be second place.

17
00:01:17,610 --> 00:01:24,450
It seems to be getting more sales than in Europe but I can't exactly see how much bigger it is.

18
00:01:24,450 --> 00:01:30,180
If I hover over it, I can actually see the value associated with each one.

19
00:01:30,180 --> 00:01:36,140
I could also adjust the data labels to include the values. And I'm going to show that to you in a second.

20
00:01:36,630 --> 00:01:42,450
But if you're interested to presenting to management and they just want to see exact numbers, you might

21
00:01:42,450 --> 00:01:44,640
want to use another type of chart.

22
00:01:44,640 --> 00:01:51,660
If you want to give your audience an idea about the structure of your divisions and regions then a tree

23
00:01:51,660 --> 00:01:58,290
map is a good data visualization tool to use. So let me show you how to set it up from scratch.

24
00:01:58,290 --> 00:02:01,090
First step is to organize your data.

25
00:02:01,110 --> 00:02:03,640
In this case I have division, region, and sales.

26
00:02:03,690 --> 00:02:06,570
Notice that division is grouped together.

27
00:02:06,570 --> 00:02:10,229
What doesn't matter here is the order of the data.

28
00:02:10,259 --> 00:02:14,850
We saw that the game division was the division with the highest sales.

29
00:02:14,850 --> 00:02:16,800
I have it as the second group.

30
00:02:16,860 --> 00:02:21,210
But notice what happens when I actually insert the tree map.

31
00:02:21,210 --> 00:02:23,480
Let's just highlight the area here.

32
00:02:23,670 --> 00:02:25,710
Go to insert, from the charts option.

33
00:02:26,800 --> 00:02:26,810
.

34
00:02:26,820 --> 00:02:30,540
There is an icon here to insert a hierarchy chart.

35
00:02:30,540 --> 00:02:36,300
Click on it, first option is the treemap. That's all you have to do.

36
00:02:36,510 --> 00:02:40,120
Well, actually you just need to give it a title and you're done.

37
00:02:40,140 --> 00:02:45,930
The treemap has done the organizing for you, so it brought in the game division first even though it's

38
00:02:45,930 --> 00:02:47,210
second here.

39
00:02:47,310 --> 00:02:52,720
It brought in Australia first for the game division even though it's second here.

40
00:02:52,770 --> 00:02:57,020
Treemaps are one of these newer charts that were introduced to Excel.

41
00:02:57,100 --> 00:03:02,710
The downside of them is that they don't have the flexibility that the normal charts have.

42
00:03:02,730 --> 00:03:09,460
For example, for the chart title in a normal chart I could go type in the equals sign here and attach

43
00:03:09,460 --> 00:03:15,000
the title to a cell. But I can't do that in these newer charts.

44
00:03:15,000 --> 00:03:20,180
It doesn't let me type in the formula box. I have to type the title in manually.

45
00:03:23,000 --> 00:03:26,390
Let's see what options we have for our series here.

46
00:03:26,390 --> 00:03:27,960
Just click on the series

47
00:03:28,100 --> 00:03:32,870
press Control+1 to bring up the series options. From here

48
00:03:33,140 --> 00:03:35,290
I just see I don't have that much choice.

49
00:03:35,390 --> 00:03:37,400
Default seems to be overlapping.

50
00:03:37,400 --> 00:03:39,760
What happens if I click on none?

51
00:03:40,220 --> 00:03:41,690
The titles here disappear.

52
00:03:41,690 --> 00:03:43,910
So these are my division titles.

53
00:03:43,910 --> 00:03:52,250
If I select none, I have to rely on the legend to tell which division, which area on the chart is. Overlapping

54
00:03:52,310 --> 00:03:59,090
was the standard here and banner is the one I prefer because it puts the title right above the chart

55
00:03:59,120 --> 00:04:04,820
And it splits a little bit so we don't get confused on what is the first category and what is the second

56
00:04:04,820 --> 00:04:06,040
category.

57
00:04:06,050 --> 00:04:09,710
Once we have the banner, we can actually remove the legend.

58
00:04:09,710 --> 00:04:11,590
Just press delete and that's it.

59
00:04:11,600 --> 00:04:12,740
We're done.

60
00:04:12,740 --> 00:04:18,140
The other thing we could do though is to add data labels to this so let's just click on the data labels here.

61
00:04:18,140 --> 00:04:21,329
From the label options.

62
00:04:21,380 --> 00:04:25,580
Let's open this grouping, instead of just showing the category name.

63
00:04:25,580 --> 00:04:28,630
We can also show the value here.

64
00:04:28,880 --> 00:04:31,040
Now is this dynamic?

65
00:04:31,040 --> 00:04:36,080
Let's just do a test. Asia in the productivity division is last here.

66
00:04:36,080 --> 00:04:40,140
What happens if I change this to a much bigger number?

67
00:04:40,320 --> 00:04:44,020
Press enter, Asia shifts to here.

68
00:04:44,120 --> 00:04:44,320
Right.

69
00:04:44,330 --> 00:04:48,650
The organizing of this is done by the chart itself.

70
00:04:48,650 --> 00:04:55,090
I don't have to do anything. Which is a great advantage of using treemaps.

71
00:04:55,250 --> 00:04:57,710
Now what if we wanted to organize this differently?

72
00:04:57,740 --> 00:05:03,100
What if we wanted regions as our heading and divisions as our rectangles?

73
00:05:03,110 --> 00:05:06,310
All we have to do is organize our data differently as well.

74
00:05:06,350 --> 00:05:13,010
So we have to put the regions together basically sort by region and then have the division inside the

75
00:05:13,010 --> 00:05:16,380
region and then have our sales values.

76
00:05:16,390 --> 00:05:23,090
Now again once I have that set up, all I have to do is highlight the area, go to insert, and insert a tree map.

77
00:05:23,890 --> 00:05:27,330
Let's just drag it here and we are all set.

78
00:05:27,380 --> 00:05:32,220
We have our regions on top and the divisions inside.

79
00:05:32,300 --> 00:05:37,190
The other thing you might want to do is to change the default color that Excel gives you.

80
00:05:37,190 --> 00:05:39,250
So here is South America, Asia.

81
00:05:39,260 --> 00:05:45,650
This seem to be a similar color. I can change that by either clicking in the chart to just highlight

82
00:05:45,650 --> 00:05:48,860
that area or clicking on the legend.

83
00:05:49,010 --> 00:05:52,190
For South America, if I just click it on the legend.

84
00:05:52,190 --> 00:05:58,790
I can go to the fill options here and select a different color from my list here.

85
00:05:58,790 --> 00:06:01,400
So let's go with a gray color.

86
00:06:01,400 --> 00:06:08,270
Click two times on the region you want to change the color of, go to solid fill and select the color

87
00:06:08,750 --> 00:06:10,390
of your choice.

88
00:06:10,640 --> 00:06:16,970
We can go with the orange here and just repeat for the different regions. Either select from here

89
00:06:17,000 --> 00:06:23,650
by clicking twice on the legend or by clicking twice on the area in your chart.

90
00:06:23,660 --> 00:06:26,920
I'm just gonna go ahead and set a color for each of these.

91
00:06:37,450 --> 00:06:41,690
Now that I have set the color of my choice for each of these areas.

92
00:06:41,750 --> 00:06:47,870
I can also go and change the series options to banner instead.

93
00:06:48,020 --> 00:06:51,690
Now my banners get the same color as my rectangles.

94
00:06:51,770 --> 00:06:57,730
I can remove the legend and all I have to do is to give this a title.

95
00:06:57,980 --> 00:07:06,370
Let's just do one final testing. What happens if one of the areas becomes bigger than another area?

96
00:07:06,380 --> 00:07:13,640
Does the entire area shift? Let's do a test for South America, that's right here.

97
00:07:13,640 --> 00:07:18,970
Let's increase the number by a lot.

98
00:07:18,980 --> 00:07:23,540
The entire area shifts and everything is sorted automatically.

99
00:07:23,540 --> 00:07:26,630
So that's how you can work with treemaps in Excel.

