# Pie chart

{% hint style="info" %}
Check out the given walk-through on how to set the Pie chart properties.
{% endhint %}

![](/files/XaGZB6nslcck9C5dlqkY)

The most widely used chart to show proportions, percentages, and categorizes information is the Pie Chart. It is mainly used for comparison where the users can find out quickly which category is most popular, and which is least.

* [ ] **The best situation to use Pie Chart:** Mainly used for comparison of categories available on the pie to find out top performers and least performers. Better for viewing if the category is limited to 6 or fewer.
* [ ] **Variations of this chart:**
  * [ ] **Pie-Doughnut***:* Doughnut charts are like Pie-chart if wished the user can switch from a pie-chart to a doughnut chart.

![Default display of the selected data via the PIe chart](/files/hsBnRK39RRmxc6FqeiUw)

### **Properties**

#### **General Settings**

* **Style**: Select a style to display data
  * Pie
  * Doughnut
  * Semi Doughnut
* **Series Color:** You can insert or delete a series and set color of specific series using this property.

  * The Series Color window appears while clicking the Series Color icon.

  &#x20;     ![](/files/3hjlWy01z3osenAZ5YKo)
* **Order**: Select a sequence for displaying data
  * None
  * Ascending
  * Descending
  * Manual Sort
  * By selecting an order (ascending or descending, users will be required to configure the following fields:
    * Order By- Select a value option from the drop-down menu to order the sequence of the data
    * Limit- Set a number to display the requested data by this limit
  * Exclude from Global Filter: The view will be excluded from the Global Filter condition by putting a checkmark in the box
  * Show Data Label: Data label will be displayed by turning on the radio button
  * Max Slices: Set a number to limit the maximum displayed slices in the chart

#### **View Filter**

* Filter: Select a filter condition using the drop-down menu

#### **Axis**

* Format Type: Select a desired format type from the drop-down menu (the provided options for this field are: None, Auto, Percent, Thousand, Lacs, Crore, Million)
* Currency Type: Select a currency symbol to be displayed in the view (the provided options for this field are: None, Euro, Rupees, Pound, USD, Yen, Cent)
* Precision: Set the after-decimal value (It will show up to 5 precision)
  * E.g., the below given image displays ‘Sum of Monthly Salary’ for Senior QA Engineer in 1,161K as the selected currency type is ‘Rupees’ and the format type is ‘Thousands”.&#x20;

![Altered View after applying the Pie chart properties](/files/nOkhB0G9x4pFtnpmwvXl)

#### **Insights**

* **Text:** Provide any information regarding the chart. If any digit or character is required to be highlighted, put it inside two asterisks. (E.g., \*70%\* or \*skills\*).
* **Text align:** There are three alignments to align the text.
  * Left
  * Right
  * Centre
* **Position:** There are two options to position the text.
  * Bottom
  * Right

![Doughnut chart with insights](/files/TUtifohhPWiDoOhWtfsu)

\
&#x20;                                          &#x20;

&#x20;

&#x20;

&#x20;

&#x20;

&#x20;

&#x20;


---

# 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.bdb.ai/bdb-documentation/data-visualization/self-service/chart-gallery/pie-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.
