树形图

树形图可用来展示数据树,以父子层次结构来组织对象。例如,显示产品类别中每件产品的平均年销售额。

了解如何添加和编辑图表。

Tree map chart

如何设置数据格式

  • 第一列:输入层次结构中对象的名称。
  • 第二列:输入对象父级的名称。父级名称还必须出现在第一列中。
  • 第三列:为每个对象输入一个正数。该值决定了每个边框的大小。父级名称的汇总总数还必须出现在第三列中。
  • 第四列(可选):输入一个正数,用于控制边框的颜色。
  • 行:每一行代表类别中不同的项。

示例

大学专业
Majors   55
Bachelor of Arts Majors 5
English Bachelor of Arts 5
History Bachelor of Arts 5
Music Bachelor of Arts 5
Philosophy Bachelor of Arts 5
Bachelor of Sciences Majors 6
Math Bachelor of Sciences 6
Physics Bachelor of Sciences 6
Biology Bachelor of Sciences 6
Engineering Bachelor of Sciences 6
Tree map chart showing college majors

制作副本

午餐菜单
Meals   71
Appetizers Meals 20
Soup ($6) Appetizers 4
Cheese ($4) Appetizers 4
Entrees Meals 30
Burger ($8) Entrees 9
Pasta ($8) Entrees 9
Pizza ($8) Entrees 9
Deserts Meals 20
Cake ($6) Deserts 7
Pie ($6) Deserts 7
Drinks Meals 6
Water ($2) Drinks 2
Tea ($3) Drinks 2
Coffee ($3) Drinks 2
Tree map chart showing lunch menu

制作副本

自定义树形图

  1. 使用计算机在 Google 表格中打开电子表格。
  2. 双击您想更改的图表。
  3. 点击右侧的自定义。
  4. 选择一个选项:
    • 图表样式:更改背景颜色和字体类型。
    • 树形图:更改字体样式,添加最小值或最大值,或更改边框颜色。
    • 图表和轴标题:编辑标题文本或为其设置格式。

相关文章

本页面可能包含使用 AI 技术翻译的内容。AI 翻译未必准确无误。

需要更多帮助?

请尝试以下步骤:

true
访问学习中心

您在单位或学校使用 Google 文档等 Google 产品吗?欢迎使用功能强大的提示、教程和模板。了解如何在不安装 Office 的情况下处理 Office 文件、创建动态项目计划和团队日历,以及自动整理收件箱等。

搜索
清除搜索内容
关闭搜索框
主菜单
9199033751070957772
true
搜索支持中心
false
true
true
true
true
true
35
false
false
false
false
false
⌂ 换网址