メイン コンテンツをスキップする

Pie chart

このページ上

関連する学習

Pie chart

The pie chart displays the relation between values as well as the relation of a single value to the total. You can use a pie chart when you have a single data series with only positive values.

In the pie chart, the dimensions form sectors of the measure values. A pie chart can have one dimension and up to two measures. The first measure is used to determine the angle of each slice in the chart.

Sales per region in a pie chart.

Pie chart.

Optionally, a second measure can be used to determine the radius of each pie slice. This style of pie chart is also known as a rose chart.

Sales by product sub group in a pie chart with the average sales per invoice sales determining slice radius

Pie chart using radius measure.

In the pie presentation of the pie chart, negative values in the radius measure are not supported and will be excluded. Negative values in the radius measure are supported in the donut presentation and will point in towards the center of the pie chart.

Sales by product sub group in a pie chart with radius measure containing a comparison of sales from the previous year

Pie chart with radius measure containing negative values.

When to use it

The primary use of a pie chart is to compare a certain sector to the total. The pie chart is particularly useful when there are only two sectors, for example yes/no or queued/finished.

We do not recommend that you compare the results of two pie charts with each other.

Advantages

The pie chart provides an instant understanding of proportions when few sectors are used as dimensions. When you use 10 sectors, or less, the pie chart keeps its visual efficiency.

Disadvantages

It may be difficult to compare different sectors of a pie chart, especially a chart with many sectors.

The pie chart takes up a lot of space in relation to the values it visualizes.

Creating a pie chart

You can create a pie chart on the sheet you are editing.

次の手順を実行します。

  1. From the assets panel, drag an empty pie chart to the sheet.
  2. [軸を追加] をクリックして、軸または項目を選択します。
  3. [メジャーを追加] をクリックし、メジャーを選択するか、項目からメジャーを作成します。

The following settings are used by default in a pie chart:

  • The top 10 sectors are presented in descending size order, clockwise.
  • Colors are presented by dimension.
  • Value labels are presented in percent.

After you have created the pie chart, you may want to add a radius measure or adjust its appearance and other settings in the properties panel.

Adding custom tooltips

You can add measures as custom tooltips that appear as additional tooltips over a pie slice. You can add a measure from a field, or you can add a measure using an expression.

Styling the custom tooltip

You can change the way the tooltip is displayed.

  • You can change the label of the tooltip with Label.
  • You can set the formatting with Number formatting.

Limitations

Custom tooltips cannot be used with set expressions, expressions using total, or charts with calculated dimensions. In snapshots, basic tooltips will be shown instead of customs tooltips.