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. Fro the toolbar, go to Visualization > Distributions > Density.
2. 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 > Variables select your Table.