Numerical data can be grouped into intervals. The intervals are named bins and can be handled as categories in an analysis.
About this task
You decide how many bins the range should be divided into. When binning the data, a slider appears that can be dragged to the wanted number of bins. The bar chart below is based on the same data as above but adjusted to display more bins.
Before you begin
A numerical data column is selected on an axis.
- Click the column selector on the axis to open its popover.
In the popover, click
, and then select
The range of values on the axis is divided into bins. A slider where you can change the number of bins supplements the column selector.
- Specify the number of bins by dragging the slider.
By coloring the bars by weight, and binning the numerical values, it is easy to distinguish individuals in certain weight intervals. In the image below, the range is divided into 4 bins. Individuals that weigh too much for their heights, can be spotted.
For example, the dark bar in the left part of the visualization stands out. This individual seems to weigh too much for his height.
For more examples, see Creating a histogram.