Tableau 简明教程
Tableau - Bullet Graph
子弹图是条形图的一种变体。在此图表中,我们在一个范围内查找第二个度量中的变化的情况下,将一个度量的值与另一个度量进行比较,以找出第一个度量中的变化。这就像两个条形相互叠加一样,它们以图表的同一位置表示各自的值。可以将其视为将两个图表合并为一个图表,以便轻松查看比较结果。
A bullet chart is a variation of Bar chart. In this chart, we compare the value of one measure with another measure in the context of finding the variation in the first measure within a range of variations in the second measure. It is like two bars drawn upon one another to indicate their individual values at the same position in the graph. It can be thought of as combining two graphs as one to view a comparative result easily.
Creating Bullet Graph
使用样本超级市场,计划找出每个子类别中各自的销售额的利润规模。要实现此目标,请执行以下步骤。
Using the Sample-superstore, plan to find the size of profits for the respective sales figures in each Sub-Category. To achieve this objective, following are the steps.
Step 1 − 从数据窗格中将维度子类别拖放到列区中。
Step 1 − Drag and drop the dimension Sub-Category from the data pane into the column shelf.
Step 2 − 将度量利润和销售额拖放到行区中。
Step 2 − Drag and drop the measures Profit and Sales to the Rows shelf.
出现以下图表,显示两个度量为两个独立的条形图类别,每个类别都表示子类别的值。
The following chart appears which shows the two measures as two separate categories of bar charts, each representing the values for sub-categories.
Step 3 − 将销售度量拖放到标记卡中。使用“显示方式”,选择子弹图选项。以下图表显示了子弹图。
Step 3 − Drag the sales measure to the Marks card. Using Show Me, choose the bullet graph option. The following chart shows the bullet graph.