This article describes how to create a box plot from one or more numeric variables, where the range of the box indicates the interquartile range of the data and the central line shows the median.
You will end up with a plot like this:
Requirements
You will need one or more Numeric format variables in your data, either in a loaded data set or a table.
Method
1. Go to Visualization > Distributions > Box.
2. Under Inputs > DATA SOURCE > Variables in 'Data' select your numeric variable(s).
3. Click Calculate and/or ensure Automatic is checked.
Selecting more than one numeric variable will generate multiple boxes.
Acknowledgements
The density is computed using the base R density function and the plot is created using plotly.
See Also
How to Create a Grouped Box Plot