INTRODUCTION TO SEABORN

Rajput Gaurav Singh
2 min readJan 30, 2020

seaborn is a statistical plotting library and built on top of matplotlib.it is very nice plot visualizing library.

Installing seaborn:

At Anaconda prompt type command given below:-

conda install seaborn

or

pip install seaborn

DISTRIBUTION PLOT:-

It used for examining univariate and bivariate distributions.Its helps to visualize the distribution of data set.These plots are:-

  1. distplot
  2. jointplot
  3. pairplot
  4. rugplot
  5. kdeplot

IMPORTING DATASET:-

here,get to know how to import dataset in the jupyter notebook.

1.DISTPLOT:-Its is used for visualizing univariate distribution.

2.JOINTPOINT:-

Its combine two different distribution plot with the help of 2 variables.Its is basically match up two distplots for bivariate data.

by default its is SCATTER in nature.

for hex use kind=’hex’ and for Regression use kind=’reg’

scattering plot
hexagonal plotting
regressiong plotting

3.PAIRPLOT:-

Its is used for quickly visulizing the data.pairplot will plot pairwise relationships across an entire dataframe (for the numerical columns) and supports a color hue argument (for categorical columns) means it will show color porpotional based on parameter.

see in example given below:-

normal pairploting without color hue arguement
pairploting with color hue arguement

4.RUGPLOT:-

Its is very simple concept.Its draws dash marks for every point on uniform or variant distrubution of one single variable.It plots datapoints in an array as sticks on an axis.

rugplot

Thanks for reading it,please upvote if you like it.

--

--