This article describes how to create a grouped Density plot, like this:
Requirements
- A Numeric variable that you want to display as densities.
- A categorical variable (Nominal, Ordinal, Binary) to use for groupings.
Method
1. From the toolbar, or by clicking + in the Report tree, go to Visualization > Distributions > Density.
2. In the object inspector , under Data > Data Source > Variables select your Numeric variable.
3. Under Data > Data Source > Groups select the categorical variable to group by.
4. Click Calculate and/or ensure Calculate automatically is ticked.
If your numeric data is stored in a table rather than a numeric variable, replace step 2 above with: Under Data > Data Source > Data, select your Table.