A Pie chart is a circular statistical graph that is divided into sectors to illustrate proportions. Each pie slice or sector represents a category and its contribution, in terms of size, to the whole.
In this example, a Pie chart with “Assignee” as a category is created to analyze Jira issues.
To create a Pie chart:
- Right-click on the ‘Priority’ column > Select View > Change > Pie.
Refer here to learn more about creating a visualization.
The following figure shows the resulting Pie chart.
Configure Pie Chart
- Select the Pie chart and open the Visualizations Panel.
The following configuration options are available for Pie chart:
- Data Configuration : It lets you choose columns for the following settings:
- Visual Configuration : It lets you configure the visual appearances and interactions of the Pie chart.
- Visualization Level Filters : They let you filter the data in the visualization without impacting other visualizations on the same dataset.
Refer here to learn more about Visualization Level Filters.
- User-Defined Colors : They let you add meaning to a data point by associating a specific color to it. User-defined colors also help you to differentiate a data point from the rest.
- Click on the icon for data configuration options.
Specify the column whose values should be displayed as categories in the Pie chart.
To change the column for the category:
- Click on the to remove the existing column.
- Drag the desired column from the Data Panel and drop it onto the Visualizations Panel’s “Category By” section.
|Note: You can type the column name in the Data Panel to quickly find it.|
Sector Size By
Specify the column to calculate the size of the sectors. The sector size can be calculated using an aggregate function (Sum, Average, etc. ) applied to the given column.
To change the column for sector size:
- Follow the same steps as shown in “Categorize By”.
- Click on the icon to select the aggregate function.
- Aggregate functions for textual data: Count, Unique Count
- Aggregate functions for numerical data: Count, Unique Count, Sum, Min, Max, Avg
In this example, sector size is calculated based on the count of issues resolved by the Assignee.
Color Saturation By
You can use color gradients to show the progression of data from high to low values. Each sector will be colored with a shade of the spectrum between the two colors defined as ‘Minimum’ and ‘Maximum’.
To apply color gradients:
- Drag the desired column from the Data Panel and drop it on the Visualizations Panel’s “Color Saturation” section.
- Select the aggregate function by clicking on the icon.
In this example, notice how slices in the Pie chart reflect the gradient with light colors for low values and dark colors for high values calculated as Count (Type).
To customize the shades of color saturation, refer to section- Color Saturation Settings.
You can sort the slices of the Pie chart on the basis of either Sector Size or Category.
|Note: By default, the Pie chart is sorted by the sector size.|
To change the sorting order:
- Click on the icon and select the column from the drop-down.
- Click on the or icon to select the sorting order (ascending or descending).
- Click on the icon for visual configuration settings.
This lets you customize the look and feel of data labels shown in each sector of a Pie.
- To turn labels on or off, select the toggle switch next to Label.
- To display values, select the toggle switch next to Value.
- To display values in percentage, select the toggle switch next to Value %.
- Move the slider or provide the value for font size.
- Click on the icon and select a font color. To restore the default color setting, click ‘Reset to Default’.
Legend helps you identify and correlate data on your chart. They provide an overview of the different data points on the chart along with the associated colors.
- To turn legends on or off, select the toggle switch next to Legend.
- Select legend position (Left, Right).
- Enter the text to change the legend heading.
|Note: Click on legend items and related data will be highlighted in the visualization.|
- Choose the number of decimal places, you want to represent the values with.
- To show/hide the header and border, click the toggle switch.
- Turn on the toggle switch to show the border for the container. Change the border color, style and width as shown below:
The following figure displays the effect of various container settings for Pie chart.
- Select the target behavior and coordinated visualization scope from the below settings.
To learn more, refer to section- ‘Configure Coordinated Visualization’.
- Click on the icon for user-defined colors.
Colors for Individual Data Item
It lets you add meaning to a data item by associating a specific color to it and differentiate some data items from the rest.
For example, the red and green color may be used to represent “Off Track” and “On Track” issues, respectively. Whereas, orange color may be used for the “Bugs” type of issues to draw attention.
To change the colors:
- Click on the icon next to the data item for which you want to change the color.
- Select the color from the available color grid or click ‘More Colors’.
- To restore default settings, click ‘Reset to Default’.
Color Saturation Settings
The following figure shows the default color saturation settings for your visualization:
You can customize the color gradient effects with the following settings:
Minimum and Maximum Color
- Select the color from the color grid.
Minimum and Maximum Numeric Values
- Set the numerical values for ‘Minimum Value’ and ‘Maximum Value’
Numeric Values are calculated from the column selected for ‘Color Saturation’ (in this example- count(Type)). You can provide custom values representing ‘Minimum’, ‘Center’, ‘Maximum’ Values.
All sectors larger than ‘Max Value’ are colored in ‘Maximum' color whereas those less than ‘Min Value’ in ‘Minimum' color.
Diverging Color Scales
- Select the toggle switch for ‘Diverging’. When Diverging is turned on, an additional color selector for mid-range value, called Center, appears.
- Set the colors for ‘Minimum’, ‘Maximum’ and ‘Center’ separately.
To learn more about color saturation settings, refer to the following GIF.
|Note: Steps for color saturation settings are the same for Bar and Pie chart.|
Configuration Options in Full-Screen Mode
Visualization can be seen in full-screen mode by clicking on icon.
|Note: Visualizations Panel is not accessible in full-screen mode.|
- Click on the icon at the top-right corner of the container.
- Select ‘Configure View’ from the overflow menu.
- A pop-up form with all the relevant configuration options will appear on the screen.
- Configure your visualization and click ‘APPLY’.