> For the complete documentation index, see [llms.txt](https://www.analytics-docs.laplacetec.com/guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.analytics-docs.laplacetec.com/guide/en/customdashboard/custom/chart/piechart.md).

# Pie chart

{% hint style="info" %}
Useful for quickly comparing measures across the dimensions you set. The pie chart is drawn in the order you set the dimensions. Works well for comparing values over a cumulative period.
{% endhint %}

## How to use <a href="#guide" id="guide"></a>

Once you've set the data source, dimensions and data filters on the Data tab, click **Pie** in the type grid on the **Chart** tab of the settings panel on the right.

1. Click the **Chart** tab in the settings panel on the right, then click **Pie** in the type grid.

   ![Selecting Pie on the Chart tab](https://616205588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqr1veGyUqCNwQBBmk3yt%2Fuploads%2Fgit-blob-867bf07d542cb14ae320b90cacc7bc4e8103bed5%2Fcustomdashboard__custom__chart__piechart__01.png?alt=media)
2. Select a measure.

   ![Selecting a measure](https://616205588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqr1veGyUqCNwQBBmk3yt%2Fuploads%2Fgit-blob-9229cc696c69523230ff0f4229f80b7bf9806587%2Fcustomdashboard__custom__chart__piechart__02.png?alt=media)

{% hint style="info" %}

* You can only choose measures you've set in the data source on the **Data** tab. To add a measure, add the measure you want to visualize to the data source and try again.
* Ratio measures (e.g. conversion rate) can't accurately show contribution as a share (%). We recommend amount or count measures.
* Handy when...👍\
  You want to calculate cumulative statistics across several dimensions and see rankings in the order of the dimensions you set.\
  e.g. Comparing revenue by brand / sales channel, revenue by brand / sales channel / product, or CTR by ad channel / campaign / creative.
  {% endhint %}

3. Select the **% share basis**.

   ![Share basis](https://616205588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqr1veGyUqCNwQBBmk3yt%2Fuploads%2Fgit-blob-f66396b36cbc48010aa2c8c89d0efa562f877e36%2Fcustomdashboard__custom__chart__piechart__03.png?alt=media)

* **By chart settings**: The total value changes with the chart's legend settings, and % is calculated from the legend items you select.
* **By data settings**: Shows the grand total regardless of the chart's legend settings. Unchecking a legend item adds it to others and shows the combined value.

4. Choose the **Visualization** options.

   ![Visualization](https://616205588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqr1veGyUqCNwQBBmk3yt%2Fuploads%2Fgit-blob-4e188f21b0b9a6187cea9451fbc0440570aa445b%2Fcustomdashboard__custom__chart__piechart__04.png?alt=media)

* **Donut chart**: Turn the switch ON to turn the pie chart into a donut chart with the total value shown in the center.
* **Show as percentage**: Turn the switch ON to show the measure as %.

5. Choose the legend position under **Legend**.

   ![Legend position](https://616205588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqr1veGyUqCNwQBBmk3yt%2Fuploads%2Fgit-blob-0598b8236a040ae98779da6a1cbb2bf5ed615d91%2Fcustomdashboard__custom__chart__piechart__05.png?alt=media)

* **Auto**: Places it to the right of the circle when there's room, or below when narrow.
* **Right** / **Bottom**: Always places it there. If the card is very narrow, a right legend also moves below.
* **Hidden**: Draws only the circle without a legend. Large slices show their share, and values appear when you hover over a slice.

## Ask your dedicated manager <a href="#contact" id="contact"></a>

Having trouble using the custom dashboard?

Contact us through the inquiry page or by email below. Your manager will be happy to help.

> 💬 [Contact us on our website](https://www.analytics.laplacetec.com/contact)

**Email:** [**product@laplacetec.com**](mailto:product@laplacetec.com)
