Links

Stacked Row Chart

Learn to build and use stacked row charts in the Cohort Browser.
An Apollo license is required to access the Cohort Browser. Contact DNAnexus Sales for more information.

How to Build a Stacked Row Chart

A stacked row chart can be built when combining two categorical fields. The same combination can also be visualized as a list view.
Dimension 1
Dimension 2
1x Categorical (categories <=20)
1x Categorical (categories <=20)
Each Dimension 1 category is displayed as a row. Each Dimension 2 category is displayed as a set of color-coded segments within the rows.
Categorical multiple and categorical hierarchical fields are not supported in stacked row charts.

Using Stacked Row Charts in the Cohort Browser

Below is a sample stacked row chart: Coffee Type by Gender. From the second row we know there are a total of 42,761 patients in the current cohort selection who drink instant coffee, with 23,278 of them being female.
Stacked Row Chart: Coffee Type x Sex
Stacked row charts allow swapping the two categorical dimensions in their primary/secondary order. Below is an example combining the same fields Coffee Type and Gender, only this time Sex is used as the primary dimension.
Stacked Row Chart: Sex x Coffee Type
Stacked row charts are not supported in Cohort Compare. To use a stacked row chart when comparing cohorts, convert it to a List View.

Note on Data Preparation

The following Ingestion Data Types are supported in stacked row charts:
  • String Categorical
  • String Categorical Sparse
  • Integer Categorical
While sparse serial type fields can be used to create a stacked row charts, non-encoded values are not supported by this chart type and therefore may not show up correctly in the chart.