> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mezmo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a Breakdown to a Graph

> Create histogram and pie chart breakdowns to see how aggregated plot values are distributed across fields like response codes and hosts.

A breakdown is a view of your main graph. It shows the distribution of values for the aggregated plots in your graph. For example, you can create a breakdown for a graph on the request field to see the distribution of request values for the HTTP response codes you plotted in Add a Plot to a Graph. You can add different types of breakdowns depending on the kind of information you want to see, in this case you'll create a histogram breakdown.

## Create a Histogram Breakdown

1. Open the graph created in [Create a Graph](/docs/create-a-graph) and [Add a Plot to a Graph](/docs/add-a-plot-to-a-graph).
2. Expand the downward arrow under the center of the graph.
3. Select a breakdown type of **Histogram**.
4. Set field name to **Response**.
5. Click the **Add Breakdown** button.

The histogram shows a breakdown of the three plotted queries and which code returns the most HTTP responses.

In this example, the response code 404 returns the most.

<img src="https://mintcdn.com/mezmo-9a59581a/5cIdgEAM73o6sWZ8/images/docs/4wj94uwx3274wsok1rrvc76ibrmsh3a00j8vufcoynnaje8n67ffyrd6lzrfiv8b.png?fit=max&auto=format&n=5cIdgEAM73o6sWZ8&q=85&s=7a14b04ea84a035c774f87aa4cd6625f" alt="" width="2162" height="562" data-path="images/docs/4wj94uwx3274wsok1rrvc76ibrmsh3a00j8vufcoynnaje8n67ffyrd6lzrfiv8b.png" />

<Note>
  Each graph can have five breakdowns.
</Note>

## Pie Chart Breakdown

With a pie chart breakdown, you can see how the response codes are distributed across hosts.

1. Click **+Add.**
2. Select breakdown type **Pie.**
3. Distribute by **Fields.**
4. Set field to **Host**.

Hover over each part of the pie chart to see the hosts. In this example we can see a host that has a large number of 404's compared to the other hosts. There are no 500 response codes returned.

<img src="https://mintcdn.com/mezmo-9a59581a/uS5U7z9j4833qA9M/images/docs/kxf8r8djjmtkzsvitu79s8qiply0qaa4ss8ohqlwu62vtproz207oacch8ujnpul.png?fit=max&auto=format&n=uS5U7z9j4833qA9M&q=85&s=f8fd7257410906358d4e420750cb9e0c" alt="" width="2102" height="842" data-path="images/docs/kxf8r8djjmtkzsvitu79s8qiply0qaa4ss8ohqlwu62vtproz207oacch8ujnpul.png" />
