A density plot is a representation of the distribution of a numeric variable along the x-axis. The density curve uses a kernel density estimate to show the variable’s probability density function and is a smoothed version of the histogram. Both histograms and density plots show the location of values, the data’s spread, and the data’s shape (normal, skewed, bimodal, etc.).
From the analysis window, click "+ New analysis" and select "Density Plot" from the dropdown menu.
Select the data model in the "Parameters" card on the right side. Select the series of interest from the dropdown menu if you choose to analyse series data.
Choose which numerical variable you want to plot from the dropdown menu beneath "Numeric variable".
You can use the "Grouping" drop-down menu to select a variable to display several groups in the same plot. The grouping variable can be categorical or numeric (without decimals). When using "Single series" as the data model, grouping variables can be chosen from the main or series levels and can be categorical, numeric (without decimals), or unique.
Open the "Formatting" card on the right side to choose whether to use category values or labels, and whether to display chart legends or show the histogram on your figure.
You can apply filters to the dataset to analyse subgroups (optional).
Export your results (Optional)