This article describes how to go from numeric data:
To a state where you can visualize the distribution of this numeric data:
Requirements
A numeric variable (as shown with a "2" next to the name in the Data Sources tree):
OR numeric data that you wish to paste directly into the visualization.
Method
- From the toolbar, select click Visualization > Distributions > Histogram.
- Click into Data > Data Source > Variables and choose the numeric variable or variables that you want to include in the histogram. Alternatively, you can click on the Paste or type data button under Data > Data Source to enter numeric data or select Data > Data Source > Data to select an existing output on one of your pages.
- Ensure the Calculate automatically box at the top right is ticked.
- OPTIONAL: You can set the minimum and maximum values shown on the X-axis by going to Chart > Values (X) Axis > Minimum value/Maximum value. In this example, I set the maximum value to 100.
- OPTIONAL: You can add an additional variable containing categories when creating a histogram using existing variables. To do so, follow the instructions above in Step 2, and then select the variable you wish to split the histogram by under Data > Data Source > Groups. The result is a set of histograms, which share the same set of axes, allowing for easy comparison.