---
title: "Stacked frequency (bar) plots"
slug: "stacked-frequency-plots"
updated: 2025-09-10T18:59:25Z
published: 2025-09-10T18:59:25Z
canonical: "userguide.dataclassroom.com/stacked-frequency-plots"
---

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

# Stacked frequency (bar) plots

Stacking the bars in a frequency (bar) plot can be a helpful way to view your data in a different way. It is especially useful when you are looking at two categorical variables at once and have unequal observations across all values of your categorical variable on X or in situations where you just have a lot of values of your categorical X variable.

![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/Untitled%20drawing-12.png)

## How do I stack them?

First open the [Appearance](/v1/docs/customize-the-appearance-of-your-graph) menu to find the option to stack your bar/frequency plot.

Frequency plots can show the bars side-by-side (default) or you can choose to stack them:

![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1642094145730.png)

## Types of stacked graphs:

## ![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/Untitled%20drawing-13.png)

When stacked, you can also choose to Stack **as proportion** which will make the total height of the bars the same, and present the values as percentages of the total counts:

![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/Untitled%20drawing-14.png)
