# Pie chart





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 />

<CreateElement elementName="pie chart" elementButtonLabel="Pie" />

## Example with Builder [#example-with-builder]

<Frame>
  <img src="/docs/doc-assets/shots/pie-chart-builder.png" alt="Pie chart example with Builder" />
</Frame>

## Example with APL [#example-with-apl]

```kusto
['sample-http-logs']
| summarize count() by status
```

<Frame>
  <img src="/docs/doc-assets/shots/pie-chart-apl.png" alt="Pie chart example with APL" />
</Frame>
