# Pie/Ring

### Pie / Ring Chart

You can visualize the ratio of the data in pie/ring shapes. It is suitable to compare the ratios among the groups.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oNAp2PFyOyLKwwQMh%2Fpie1.png?generation=1586795472414371\&alt=media)

### Column Assignments

* Color - Assign a column for groups. Take a look at [Color](https://docs.exploratory.io/visualization/features/color) section for more details.
* Value - Assign a data column you want to visualize and compare. The column data should be numeric.
* Sort By Value - If you check it, the color sort is based on the size of the values. If you uncheck it, the color sort is based on the data. If you assign a character column, it will be in an alphabetical order. If you assign a factor column, the order will be in the factor level order.
* Repeat By - You can assign a column to repeat the chart for each of its values. Take a look at [Repeat By](https://docs.exploratory.io/visualization/features/small-multiple) section for more details.
* Style - You can choose Pie or Ring style.

### Highlight

You can change the color of the specific markers such as bars, lines or circles that you pick to stand out from others. See [Highlight](https://docs.exploratory.io/visualization/features/highlight-1) for the detail.

### Category

You can categorize numeric values inside the chart. See [Category(Binning)](https://docs.exploratory.io/visualization/features/category) for the detail.

### 'Others' Group

If you have many categories, you can reduce the number of categories by changing some category names to 'Others' using the 'Others' Group feature. See ['Others' Group](https://docs.exploratory.io/visualization/features/others-group) for the detail.

### Custom Function

You can use the Custom Function feature to define your own aggregation function. See [Custom Function](https://github.com/exploratory-io/book/blob/master/viz/custom-function.md) for the detail.

### Missing Value Handling

You can use the Missing Value Handling feature to control missing values. See [Missing Value Handling](https://docs.exploratory.io/visualization/features/missing-value-handling) for the detail.

### Show Detail

You can show the detailed data underlying the chart by clicking the chart figure. See [Show Detail](https://docs.exploratory.io/visualization/features/show-detail) for the detail.

### Layout Configuration

* Show Percentages - Show percentage numbers on the plot area.
* Show Values - Show the actual numbers on the plot area.
* Show Labels - Show the category names on the plot area.
* Hole Size - The ratio of the hole size. If you set 0, it becomes a pie chart.

Take a look at [Layout Configuration](https://docs.exploratory.io/visualization/features/layout) on how to configure the layout and format.

### Save as an Image

You can save the chart as an image file. See [Save as PNG/SVG](https://docs.exploratory.io/visualization/features/save) for more details.
