> ## Documentation Index
> Fetch the complete documentation index at: https://axiom-mano-support-improvements.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Pie chart

> This section explains how to create pie chart dashboard elements and add them to your dashboard.

export const elementName_0 = "pie chart"

export const elementButtonLabel_0 = "Pie"

Pie charts can illustrate the distribution of different types of event data. Each slice represents the proportion of a specific value relative to the total. For example, a pie chart can show the breakdown of status codes in HTTP logs. This helps quickly identify the dominant types of status responses and assess the system’s health at a glance.

## Prerequisites

* [Create an Axiom account](https://app.axiom.co/register).
* [Create a dataset in Axiom](/reference/datasets) where you send your data.
* [Send data](/send-data/methods) to your Axiom dataset.
* [Create an empty dashboard](/dashboards/create).

## Create {elementName_0}

1. Go to the Dashboards tab and open the dashboard to which you want to add the {elementName_0}.
2. Click <Icon icon="plus" iconType="regular" /> **Add element** in the top right corner.
3. Click **{elementButtonLabel_0}** from the list.
4. Choose one of the following:
   * Click **Builder** to create your chart using a visual query builder. For more information, see [Create chart using visual query builder](/dashboard-elements/create#create-chart-using-visual-query-builder).
   * Click **APL** to create your chart using the Axiom Processing Language (APL). Create a chart in the same way you create a chart in the APL query builder of the [Query tab](/query-data/explore#create-a-query-using-apl).
5. Optional: [Configure the dashboard element](/dashboard-elements/configure).
6. Click **Save**.

The new element appears in your dashboard. At the bottom, click **Save** to save your changes to the dashboard.

## Example with Builder

<Frame>
  <img src="https://mintcdn.com/axiom-mano-support-improvements/x4nCh8suEC7F0q7y/doc-assets/shots/pie-chart-builder.png?fit=max&auto=format&n=x4nCh8suEC7F0q7y&q=85&s=59ed381d9cef2762bbbda88cbde5396d" alt="Pie chart example with Builder" width="2340" height="1576" data-path="doc-assets/shots/pie-chart-builder.png" />
</Frame>

## Example with APL

```kusto theme={null}
['sample-http-logs']
| summarize count() by status
```

<Frame>
  <img src="https://mintcdn.com/axiom-mano-support-improvements/x4nCh8suEC7F0q7y/doc-assets/shots/pie-chart-apl.png?fit=max&auto=format&n=x4nCh8suEC7F0q7y&q=85&s=1deb0fa9039c74ea66eada5067180602" alt="Pie chart example with APL" width="2176" height="1686" data-path="doc-assets/shots/pie-chart-apl.png" />
</Frame>
