> For the complete documentation index, see [llms.txt](https://help.bioinsight.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.bioinsight.illumina.com/icm/analyses/analysis-functionality/data-viewer/stacked-violin-plot.md).

# Stacked Violin Plot

Stacked violin plots can be used to summarize multiple features expression in one image.

Start by adding a 2D scatter plot to the Data viewer. Select the data node from the pipeline to use (e.g. normalized counts) then choose the attribute of interest for the X-axis (e.g. cell type or sample name) and select **Numeric list** for the Y-axis.

Navigate to the left panel and open the **Axes** Configure option. Add the features (e.g. genes) to include on the Y-axis by typing the name and selecting the feature. These can be ordered by drag and drop within the box which is reflected on the visualization.

<figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-84620fb55a57e407d753f4c5ee9832d5fecaa6c4%2Fimage%20(301).png?alt=media" alt=""><figcaption></figcaption></figure>

Navigate to the left panel and open the **Style** Configure option. Use the *Summary* options to toggle on and off the **Violin** and other visual preferences.

Use the **Show advanced options** to toggle the points (dots) on and off.

<figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-c7f8f613c0090601125c5f400a352b1a324c7070%2Fimage%20(302).png?alt=media" alt=""><figcaption></figcaption></figure>

The plot will display the specified genes on Y-axis in different tracks:

<figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-41d87457e7397f1f74b2f746679f5529c5d5feea%2Fimage%20(303).png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.bioinsight.illumina.com/icm/analyses/analysis-functionality/data-viewer/stacked-violin-plot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
