# Pie Chart

## About **pie charts**

A pie chart divides one categorical variable into slices that represent parts of a whole

<figure><img src="https://92463871-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCM3b1nzgmsPUEa2xap%2Fuploads%2FieS1ySOZrEHO4Ex9sSvz%2Fimage.png?alt=media&#x26;token=dd31e00d-1625-4f98-904a-ca2cd34ad81e" alt="" width="513"><figcaption><p>Example of a pie chart in Microreact</p></figcaption></figure>

## **Creating your pie chart**

| <p><strong>Step 1</strong>: Select a category from your metadata table to create the pie chart, with slices representing the proportion of each unique element in that column.</p><p>Tooltips will display the count and percentage of each category when hovering over individual slices.</p>                                                                                                                                                                                                                                                                                                                                                                                            | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXc-ZKG3vB7Xpzmzx76s2NAJ2gE8UA5YAFRyUc5H98d1oJ612zQkYnZQjKKoxVE5rp5b99gcPXzEHAk52nkm56FPwQLhz-0pbZCO6Pfoewm3NTrwOsADh7d0SF24tB_vLjBVDjZPCsxc9msCFEYxBlsOu-rl?key=eWiUFSXUJbPgi8wi6uipZA) |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Step 2</strong>: Select how you would like the size of your pie slices to be represented and whether you would like to omit null values from the visual.</p><ul><li>Representing your pie slices by radius means the larger slices extend further outward from the centre, visually emphasising the relative size of each data point more dramatically than a traditional pie chart</li><li>Representing your pie slices by area means the area of each slice is proportional to the category's value relative to the total data set</li></ul><p><em>Note</em>: rows with null values for your pie chart category will still be present in other panels of your dashboard.</p> | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdOCcs-qss5CTlYq0FuA_MwccnOJEVSNBEuPMyyQaeLz6Ig9ScEbK-nFKH9GlvL3UXVn0wh-e669eQV5WhlmwQRyFUjLEydzkm6KWItqHat4Dr76n1T8ks1gsgVqgfa2eFh2Ovc66tRYbNLuodES3OMJaCl?key=eWiUFSXUJbPgi8wi6uipZA) |
| <p><strong>Step 3</strong>: Indicate whether you want the slice labels to appear inside each slice, outside the pie chart or turn labels off.</p><p>You can also select whether to display percentages as part of the labels. Even if you turn off the percentage labels, you will still see percent values in the tooltips.</p><p><br>Users can also set a minimum count to hide labels from slices that are very small while still visualising labels for primary slices.</p><p><br></p>                                                                                                                                                                                                | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfr9287MXFctqatEzBMyoiWUhY97SQK8Ar-dNVHWhloSElI9NUcE8tGwLKRMGMLNiglwfmpnITlEb1J_PpJety9TksTj6L7xqk8Khhlx4EjNXYPxSde73-ef1CWtcaz5ucBb0zpBsNcX-kfokEmKs5YJLk?key=eWiUFSXUJbPgi8wi6uipZA)  |

\\
