Box Plot (also called a box-and-whisker plot) is a simple way to
show how numbers are spread out in a dataset.
It helps you quickly see:
● The middle value
● How spread out the data is
● Whether there are any unusual values (outliers)
What Does a Box Plot Look Like?
5 Important Parts
A box plot is built using five key numbers:
1. Minimum – The smallest value (excluding outliers)
2. Q1 (First Quartile) – 25% of data is below this value
3. Median (Q2) – The middle value (50% of data below it)
4. Q3 (Third Quartile) – 75% of data is below this value
5. Maximum – The largest value (excluding outliers)
Why Is It Called a “Box” Plot?
● The box shows the middle 50% of the data (from Q1 to Q3).
● The line inside the box is the median.
● The “whiskers” extend to the minimum and maximum values.
● Dots outside the whiskers are called outliers (values much higher or lower than the
rest).
Example
Imagine these test scores:
60, 70, 75, 80, 85, 90, 95
● Minimum = 60
● Q1 = 70
● Median = 80
● Q3 = 90
● Maximum = 95
The box would stretch from 70 to 90, with a line at 80.
Why Use a Box Plot?
Box plots help you:
● Compare groups easily (like test scores from two classes)
# See if data is skewed
● Spot outliers
● Understand spread without looking at every number
In Simple Words
Think of a box plot as:
A quick “summary picture” of your data that shows where most values sit and
how spread out they are.
In this command:
[Link](1, 2, 1)
the first two arguments control how your figure is divided.
The general format is:
[Link](rows, columns, position)
So the first two arguments are:
First Argument → Number of Rows
[Link](1, ...)
This means:
“Divide the figure into 1 row.”
So all plots will be arranged horizontally (side by side).
If you used:
[Link](2, ...)
You would get 2 rows (plots stacked vertically).
Second Argument → Number of Columns
[Link](..., 2, ...)
This means:
“Divide the figure into 2 columns.”
So each row will contain 2 plot spaces.
Together They Create a Grid
[Link](1, 2, 1) creates a grid that looks like this:
For 1 row × 2 columns:
[1][2]
If it was 2 rows × 2 columns:
[1][2]
[3][4]
Simple Way to Remember
● First number = how many rows (up/down)
● Second number = how many columns (left/right)
Think of it like creating a table layout for your plots.