# Stacked Area/Bar/Column Chart

A **Stacked Area Chart** is a type of area chart that displays multiple data series on top of one another, emphasizing their cumulative values over time. This visualization is useful for showing how different components contribute to a total while maintaining the ability to analyze trends and patterns. It is commonly used for **financial reports, market share analysis, and resource allocation tracking**.

### **When to Use a Stacked Area Chart**

* **Visualizing cumulative trends:** Great for understanding how multiple series contribute to a total over time.
* **Comparing part-to-whole relationships:** Useful for tracking the proportion of different categories across a continuous variable.
* **Displaying gradual changes:** Helps in identifying growth patterns and distribution changes over time.
* **Stacking multiple data series:** Allows clear visibility of how each series contributes to the overall trend.

### **How to Set Up a Stacked Area Chart in Infinity**

#### **1. Selecting the Chart Type**

1. Navigate to the **Chart Type** dropdown in the chart editor.
2. Select **Stacked Area** from the available chart types.

<figure><img src="/files/gNMfrHiMJjLWaBwy7XtB" alt=""><figcaption></figcaption></figure>

#### **2. Configuring Data Series**

1. Click **Add Data Series** to set up the chart:
   * **X-Axis:** Select the time-based or categorical variable (e.g., Year, Month).
   * **Y-Axis:** Add multiple series to represent different data segments.

#### **3. Customizing the Stacked Area Chart**

* Use the **Advanced Editor** to fine-tune grid lines, labels, and legends.

### **Similarity to Stacked Bar and Stacked Column Charts**

The **Stacked Area Chart** works similarly to **Stacked Bar Charts** and **Stacked Column Charts**, but instead of using discrete bars, it represents data as continuous, stacked areas. **Stacked Bar Charts** and **Stacked Column Charts** are often used for **categorical comparisons**, such as market share by region or sales by product category. The **setup process for stacked bar and column charts follows the same structure**, where the **X-axis represents categories, and the Y-axis represents cumulative values**. While we are not covering these charts in detail, the **customization options and data configuration steps are nearly identical to those of the Stacked Area Chart**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getinfinity.app/user-guide/comprehensive-user-guide/2.-charts/featured-chart-examples/stacked-area-bar-column-chart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
