
The histogram shows that about 4,800 orders contained two items (the second bar), about 2,400 orders contained 4 items (the third bar), and so on.

The Quantity measure captures the number of items in a particular order. The Quantity measure moves to the Rows shelf and the aggregation changes from SUM to CNT (Count). To edit this bin: In the Data pane, right-click the bin and select Edit. (The green color of the field on the Columns shelf indicates that the field is continuous.) The Quantity measure you placed on the Columns shelf, which had been aggregated as SUM, is replaced by a continuous Quantity (bin) dimension. The view changes to show vertical bars, with a continuous x-axis (1 – 14) and a continuous y-axis (0 – 5,000). Three things happen after you click the histogram icon in Show Me: The histogram chart type is available in Show Me when the view contains a single measure and no dimensions. In Tableau you can create a histogram using Show Me.Ĭonnect to the Sample - Superstore data source.Ĭlick Show Me on the toolbar, then select the histogram chart type.
#Steps to making a histogram how to#
For more information on how to create a bin from a continuous measure, see Create Bins from a Continuous Measure (Link opens in a new window). Note: This bin should be created from the continuous measure on the Rows shelf. The basic building blocks for a histogram are as follows:Ĭontinuous measure (aggregated by Count or Count Distinct) A histogram looks like a bar chart but groups values for a continuous measure into ranges, or bins. A histogram is a chart that displays the shape of a distribution.
