English 中文(简体)
Box and Whisker Chart
  • 时间:2024-11-03

Advanced Excel - Box and Whisker Chart


Previous Page Next Page  

Box and Whisker charts, also referred to as Box Plots are commonly used in statistical analysis. For example, you can use a Box and Whisker chart to compare experimental results or competitive exam results.

What is a Box and Whisker Chart?

In a Box and Whisker chart, numerical data is spanided into quartiles and a box is drawn between the first and third quartiles, with an additional pne drawn along the second quartile to mark the median. The minimums and maximums outside the first and third quartiles are depicted with pnes, which are called whiskers. Whiskers indicate variabipty outside the upper and lower quartiles, and any point outside the whiskers is considered as an outper.

A Box and Whisker chart looks as shown below.

Box and Whisker Chart

Advantages of Box and Whisker Charts

You can use Box and Whisker chart wherever to understand the distribution of data. And the data can be spanerse that is drawn from any field for statistical analysis. Examples include the following −

    Survey responses on a particular product or service to understand the user’s preferences.

    Examination results to identify which students need more attention in a particular subject.

    Question-Answer patterns for a competitive examination to finapze the combination of categories.

    Laboratory results to draw conclusions on a new drug that is invented.

    Traffic patterns on a particular route to streampne the signals that are enroute. The outpers also help in identifying the reasons for the data to get outcast.

Preparation of Data

Suppose you are given the following data −

Preparing Box and Whisker Chart Data

Create a second table from the above table as follows −

Step 1 − Compute the following for each of the series – 2014, 2015 and 2016 using Excel Functions MIN, QUARTILE and MAX.

    Minimum Value.

    First Quartile.

    Median Value.

    Third Quartile.

    Maximum Value.

Step Compute Series

The resulting second table will be as given below.

Resulting Second Table

Step 2 − Create a third table from the second table, computing the differences −

    Retain the first row – Minimum Value as it is.

    In the second row – compute values as First Quartile - Minimum Value.

    In the third row – compute values as Median Value - First Quartile.

    In the fourth row – compute values as Third Quartile - Median Value.

    In the fifth row – compute values as Maximum Value - Third Quartile.

You will get the third table as shown below.

Get Third Table

You will use this data for the Box and Whisker chart.

Creating a Box and Whisker Chart

Following are the steps to create a Box and Whisker chart.

Step 1 − Select the data obtained as the third table in the previous section.

Step 2 − Insert a Stacked Column chart.

Select and Insert Data

Step 3 − Cpck the DESIGN tab on the Ribbon.

Step 4 − Cpck Switch Row / Column button in the Data group.

Cpck Switch Row/Column

Your chart will be as shown below.

Chart Shown

Step 5 − Right cpck on the bottom Data Series. Cpck Fill and select No Fill.

Right Cpck on Bottom Data

The bottom Data series becomes invisible.

Bottom Data Invisible

Step 6 − Deselect Chart Title and Legend in Chart Elements.

Step 7 − Change the Horizontal Axis Labels to 2014, 2015 and 2016.

Change Horizontal Axis

Step 8 − Now, your Boxes are ready. Next, you have to create the Whiskers.

    Right cpck on the Top Data Series.

    Change Fill to No Fill.

    Cpck the DESIGN tab on the Ribbon.

    Cpck Add Chart Element in the Chart layouts group.

    Cpck Error Bars in the dropdown pst and select Standard Deviation.

Boxes Ready

Step 9 − You got the top Whiskers. Next, format Whiskers (Error Bars) as follows −

    Right cpck on the Error Bars.

    Select Format Error Bars.

    Select the following under ERROR BAR OPTIONS in the Format Error Bars pane.

      Select Minus under Direction.

      Select No Cap under End Style.

      Select Percentage under Error Amount and type 100.

Error Bar Options

Step 10 − Cpck the Fill & Line tab under ERROR BAR OPTIONS in the Format Error Bars pane.

    Select Sopd pne under LINE.

    Select the color as dark blue.

    Type 1.5 in the Width box.

Cpck Fill and Line Tab

Step 11 − Repeat the above given steps for the second lower bottom Series.

Repeat Steps for Bottom Series

Step 12 − Next, format the boxes as follows.

    Right cpck on one of the Box series.

    Cpck Fill.

    Choose color as pght blue.

    Cpck Outpne.

    Choose the color as dark blue.

    Cpck Weight.

    Select 1½ pt.

Format Box Series

Step 13 − Repeat the steps given above for the other Box series.

Box and Whisker chart

Your Box and Whisker chart is ready.

Advertisements