Tableau (Box and Whisker plot in tableau)


Box and Whisker Plot:

πŸ‘‰   Box and whisker plots, sometimes known as box plots, are a great chart to use when showing the distribution of data points across a selected measure. These charts display ranges within variables measured.

πŸ‘‰  Use box plots, also known as box-and-whisker plots, to show the distribution of values along an axis.

πŸ‘‰  Boxes indicate the middle 50 percent of the data (that is, the middle two quartiles of the data's distribution).

πŸ‘‰  You can configure lines, called whiskers, to display all points within 1.5 times the interquartile range (in other words, all points within 1.5 times the width of the adjoining box), or all points at the maximum extent of the data, as shown in the following image:


Creating Box and Whisker plot:

To create a box plot that shows discounts by region and customer segment, follow these steps:

  1. Connect to the Sample - Superstore data source.

  2. Drag the Segment dimension to Columns.

  3. Drag the Discount measure to Rows.

  4. Drag the Region dimension to Columns, and drop it to the right of Segment.

  5. Click Show Me in the toolbar, then select the box-and-whisker plot chart type.

    Tableau displays the a box plot:

  6. Drag Region from the Marks card back to Columns, to the right of Segment.


  7. To disaggregate data, select Analysis > Aggregate Measures.



  8. Click the Swap  button to swap the axes:

    The box plots now flow from left-to-right:

  9. Right-click (control-click on Mac) the bottom axis and select Edit Reference Line.

  10. In Edit Reference Line, Band, or Box dialog box, in the Fill drop-down list, select an interesting color scheme.


    Output:

You can see that the discount was the same for all segments in the West. You can also see that the interquartile range (from the 25th percentile to the 75th percentile) for discount was greatest in the Central region for the consumer and corporate segments.

Comments

Popular posts from this blog

String Functions in C Language(C Language)

PHP Array Functions

Home Menu Options in Ms Word