Histograms

What is the use of Histograms? and When we can use Histogram ? like so many questions are coming in mind to choose Histogram

A histogram is a chart type that displays the shape of a distribution.A histogram looks like as bar chart but groups values for a continuous measures into range or bins.

If the number of distribution is more where you can not identify the exact values lies on which category in such cases you can use histogram via groups or bins.

In tableau You can create a histogram using show me option.

a) connect the data source in tableau.

b) Drag Sales to columns

c) Click show me on the Tool bar then Select Histogram chart Type.

Histogram

Another way to group the data or create bins

  1. right-click sales measure, and choose Create -> Bins... It will pop-up an edit dialog. Just keep it as default, we will modify it later.
  2. Drag the dimension "Sales (bin)" which we just created into Columns Shelf.
  3. Drag the measure "Sales" into Rows Shelf.
  4. Right-click "SUM(Sales)" on the Rows Shelf and choose Measure -> Count.
  5. Right-click "Sales(bin)" and choose Edit...
  6. Choose Create a New Parameter... instead of fixed size.
  7. In the Parameter dialog, rename the parameter as "Sales Bin Size".
  8. Set the Current value to 5.
  9. In Range of values, set the Minimum as 1, the Maximum as 12, and the Step size as 1.
  10. Right-click the "Sales Bin Size" that we just created and choose Show Parameter Control.
  11. It displays as a text field by default. Click the inverted triangle and change the type to Slider.
  12. Now we are able to adjust the bin size by sliding in legend. 

When a histogram is rendered with diverging colors, it shows the information more intuitively. More green means that they’re more likely to survive, while more red means that it is harder to survive. Grey is closer to the average survival ratio.


To view or add a comment, sign in

Insights from the community

Others also viewed

Explore topics