# Pie Chart

A **Pie Chart** is a circular statistical graphic that displays data as slices of a whole, representing **proportional relationships** between categories. It is an intuitive way to compare parts of a dataset, showing how each category contributes to the total. Pie charts are commonly used in **market share analysis, budget breakdowns, and survey responses** to provide a quick visual representation of proportions.

### **When to Use a Pie Chart**

* **Comparing parts of a whole:** Ideal when each data point represents a fraction of a total (e.g., sales distribution by product category).
* **Showing relative proportions:** Helps visualize percentages or contributions of different groups.
* **Highlighting key contributors:** Useful when identifying dominant categories in a dataset.
* **Limited number of categories:** Works best when displaying fewer than **six categories** to ensure readability.

### **How to Set Up a Pie Chart in Infinity**

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

1. Navigate to the **Chart Type** dropdown in the chart editor.
2. Select **"Pie"** from the available chart options.

<figure><img src="https://2441185785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeTNY9XuZbora2UmeM4sm%2Fuploads%2Fkq57UsSJdyCkVoU1xoee%2Fimage.png?alt=media&#x26;token=ef88fe6b-c959-45be-a210-8116b68690f2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2441185785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeTNY9XuZbora2UmeM4sm%2Fuploads%2FWwk3Gj5uat3g2bu1g88m%2Fimage.png?alt=media&#x26;token=7d82716c-e2f3-4ab3-953e-49740970d145" alt=""><figcaption></figcaption></figure>

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

1. Click **Add Data Series** and define the required fields:
   * **Category (Slices):** The variable that represents different sections of the pie (e.g., product type, department).
   * **Measures (Size of Slices):** The metric that determines the proportion of each category (e.g., revenue, percentage of total).
2. The chart will automatically distribute the slices based on their proportional values.

#### **3. Customizing the Pie Chart**

* Use the **Advanced Editor** to refine chart background, tooltips, and labels.

<figure><img src="https://2441185785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeTNY9XuZbora2UmeM4sm%2Fuploads%2FBUTPI6100GVqHEQhoeNa%2Fimage.png?alt=media&#x26;token=fa067a8e-4f12-4a1a-bfb8-e63b4cddc167" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2441185785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeTNY9XuZbora2UmeM4sm%2Fuploads%2F5RCrssN4oH3vlFlp8iHp%2Fimage.png?alt=media&#x26;token=ba8aee8c-fc3e-4ab2-ac9c-ce0b64d14b5a" alt=""><figcaption></figcaption></figure>

### **Similarity to Donut and 3D Pie Charts**

The **Pie Chart** setup and customization options are the same as for **Donut Charts** and **3D Pie Charts**. The **Donut Chart** is essentially a **Pie Chart with a hollow center**, making it useful for emphasizing inner content, such as total values. A **3D Pie Chart** adds a **three-dimensional effect** for aesthetic appeal but follows the same fundamental setup. Since the core functionality remains unchanged, we will not be covering **Donut or 3D Pie Charts separately**, as all **customization and configuration options apply across these formats**.

###
