A box plot is a data visualization technique for analyzing the distribution and patterns of numerical data points. Understanding **data visualization** graphs is not easy for everyone. So if you want to know how to analyze a box plot, this article is for you. In this article, I will take you through a guide on analyzing a box plot.

## Structure of a Blox Plot

The box portion of a box plot contains three lines:

- The first line in the top represents quartile 3 of the data points;
- The second line in the middle represents the median value of the data points;
- The third line in the box plot represents quartile 1 of the data points;
- The two horizontal lines below and above the box are whisker lines;

I hope you have understood the structure of a box plot. The section below will introduce how to analyze a box plot.

## Here’s How to Analyze a Box Plot

The image below shows three box plots visualizing how the number of bank accounts affects your credit scores.

In the above image, the green box plot shows the distribution of the number of bank accounts of credit card customers. In this graph:

- q1 = 2 (means 25% of the data lies below this point)
- median = 3 (means 50% of the data lies below this point)
- q3 = 5 (means 75% of the data lies below this point)
- the upper whisker represents the maximum value (9), and the lower whisker represents the minimum value (0)
- The green point above the upper whisker is an outlier representing 10 bank accounts and still have a good credit score

**When the median is in the middle of the box plot, it represents standard distribution. When the median is closer to quartile 1 (as shown in the green box plot) it represents a positively skewed distribution. And when the median is closer to quartile 3 (as shown in the red box plot) it represents a negatively skewed distribution.**

### Summary

So below are some takeaways on how to analyze a box plot:

- The first line in the top represents quartile 3 of the data points, which means that 75% of the data lies below this point;
- The second line in the middle represents the median value of the data points, which means that 50% of the data lies below this point;
- The third line in the box plot represents quartile 1 of the data points, which means that 25% of the data lies below this point;
- The two horizontal lines below and above the box are whisker lines, the above whisker represents the maximum value, and the lower whisker represents the minimum value.
- Any point above the upper whisker line and below the lower whisker line is an outlier.

I hope you liked this article on how to analyze a box plot. Feel free to ask valuable questions in the comments section below.

I have understood the concept but, still I confused of what variables have to take to visualise?

You can have a look at an example here: https://thecleverprogrammer.com/2022/12/05/credit-score-classification-with-machine-learning/

it will clarify all your doubts about the kind of variables.