You are on page 1of 20

sub module of matplotlib

Create Numpy array

Linear Relationship
attributes
Subplot(row, col, index)
Understand the distribution of categorical value
plt.barh
Adding two
markers in the
same plot
It will use for numerical values
Max value

75 % value

50 % value median

25 % value

Min value

Applications
It is used to know:
-The outliers and their values
-Symmetry of Data
-Tight grouping of data
-Data skewness – if, in which direction and how
Box Plot Example
Example:
Find the maximum, minimum, median, first quartile,
third quartile for the given data set: 23, 42, 12, 10, 15,
14, 9.
Solution:
Given: 23, 42, 12, 10, 15, 14, 9.
Arrange the given dataset in ascending order.
9, 10, 12, 14, 15, 23, 42
Hence,
Minimum = 9
Maximum = 42
Median = 14
First Quartile = 10 (Middle value of 9, 10, 12 is 10)
Third Quartile = 23 (Middle value of 15, 23, 42 is 23).

often used in explanatory data analysis. Box plots visually show the
distribution of numerical data and skewness through displaying the
data quartiles (or percentiles) and averages.

descriptive statistics box plot or boxplot (also known as box and


whisker plot
Check the distribution of categorical values in %
Outer circle

You might also like