# Donut (Composition)

![](https://2045057293-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M32ms-dWLPjFImgSINF%2F-M39ae9Y7CRIwWa_oVHA%2F-M39l0NZEZoQHMCkVHM8%2Fimage.png?alt=media\&token=eed697d1-ff2b-4345-aabe-040da3b88548)

### Used For

* Comparisons of OTU or taxonomic group composition between one or more sample groups

{% hint style="info" %}
This tool works best when every sample is subsampled to the same depth
{% endhint %}

### Visualization Parameters

#### Taxonomic Level

The taxonomic level to aggregate the OTUs at. The OTUs will be grouped together (by summing the OTU values) at the selected taxonomic level before the analysis is applied.

#### Categorical Variable

Create comparative sample groups based on categorical variables uploaded in the metadata file.&#x20;

Optionally create a categorical variable from a quantitative variable by using the Quantile Range feature on the Projects home page.&#x20;

#### Donut Grouping

* **Taxonomic Variable** A donut is created for each unique taxonomic group or OTU
* **Categorical Groups** A donut is created for each sample group

### Interactive Elements

* Hover over each donut to determine its label and relative abundance

### Additional Features

* **Save Snapshot**: Save the visualization to the experiment notebook
* **Download**: Downloads the visualization as a PNG file
* **Share**: Creates a shareable link that allows you to share the visualization with others
