Tableau 简明教程

Tableau - Bubble Chart

气泡图显示了作为圆簇的数据。维度字段中的每个值表示一个圆圈,而度量值表示这些圆圈的大小。由于值不会在任何行或列中显示,因此您可以将所需字段拖动到标记卡下的不同区中。

Bubble charts display data as a cluster of circles. Each of the values in the dimension field represents a circle whereas the values of measure represent the size of those circles. As the values are not going to be presented in any row or column, you can drag the required fields to different shelves under the marks card.

Simple Bubble Chart

使用样本超级市场,让我们计划找出不同运输方式的利润规模。要实现此目标,请执行以下步骤。

Using the Sample-superstore, let’s plan to find the size of profits for different ship mode. To achieve this objective, following are the steps.

Step 1 − 将度量利润拖放到标记卡下的尺寸区中。

Step 1 − Drag and drop the measure profit into the Size shelf under Marks card.

Step 2 − 将维度运输方式拖放到标记卡下的标签区中。

Step 2 − Drag and drop the dimension ship mode into the Labels shelf under Marks card.

Step 3 − 将维度运输方式拉到标记卡下的颜色区中。

Step 3 − Pull the dimension ship mode to the Colors shelf under Marks card.

出现以下图表。

The following chart appears.

bubble 1

Bubble Chart with Measure Values

您还可以显示决定圆圈大小的度量字段值。要执行此操作,请将销售度量拖放到标签区中。出现以下图表。

You can also show the values of the measure field which decides the size of the circles. To do this, drag the sales measure into the Labels shelf. The following chart appears.

bubble 2

Bubble Chart with Measure Colors

您可以使用深浅不同的单一颜色代替给每个圆圈不同的颜色。为此,将度量销售拖放到颜色区中。越高值表示越深阴影,而较小值表示较浅阴影。

Instead of coloring each circle with a different color, you can use a single color with different shades. For this, drag the measure sales into the color shelf. The higher values represent darker shades while the smaller values represent lighter shades.

bubble 3