0% found this document useful (0 votes)
17 views

ISE2_2020BTECS00004

Seaborn is a Python data visualization library that simplifies the creation of attractive statistical graphics and enhances data understanding through visual representation. It offers various features such as built-in themes, color palettes, and specialized functions for visualizing categorical data. Seaborn is favored for exploratory data analysis due to its flexibility in customizing plots and displaying distributions.

Uploaded by

prash4ntmishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

ISE2_2020BTECS00004

Seaborn is a Python data visualization library that simplifies the creation of attractive statistical graphics and enhances data understanding through visual representation. It offers various features such as built-in themes, color palettes, and specialized functions for visualizing categorical data. Seaborn is favored for exploratory data analysis due to its flexibility in customizing plots and displaying distributions.

Uploaded by

prash4ntmishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Seaborn: a data

visualization library
for Python

Prashant Mishra | 2020BTECS00004


Why Data Visualisation is
important

Enhances Understanding: Visual representations simplify


complex data, improving understanding.

Identifies Trends and Patterns: Visualizations reveal hidden


trends and patterns in data.

Aids Decision-Making: They facilitate data-driven decision-


making.

Effective Communication: Visuals convey information to a


wide audience.

Saves Time: Data visualization quickly provides insights from


complex data.
Introduction to
Seaborn

Seaborn is a Python data visualization library built on top of Matplotlib,


designed for creating visually appealing and informative statistical graphics.

It offers a high-level interface for creating various types of plots, which


simplifies the process of data visualization.

Seaborn provides built-in themes and color palettes to style your plots, making
it easy to create visually pleasing graphics.

It includes functions for adding statistical estimation to your plots, such as


regression lines, enhancing their analytical value.

Seaborn has specialized functions for visualizing categorical data, including box
plots and violin plots.

It allows you to customize and style your plots by adjusting colors, labels, fonts,
and other visual elements to match your preferences.
Key features of
Seaborn

• Seaborn offers:
- Using default themes that are aesthetically pleasing.
- Setting custom colour palettes.
- Making attractive statistical plots.
- Easily and flexibly displaying distributions.
- Visualising information from matrices and DataFrames.
• The last three points have led to Seaborn becoming the exploratory
data analysis tool of choice for many Python users.
Plot types in
Seaborn
Histogra
ms
Allow you to plot the distributions of numeric variables.
Creating a Scatter
Plot

Name of our dataframe


Name of variable we fed to the “data=“
want on the x-axis command

Seaborn “linear model Name of variable we


plot” function for want on the y-axis
creating a scatter
graph
• Seaborn doesn't have a dedicated scatter plot
function.
• We used Seaborn's function for fitting and plotting
a regression line; hence lmplot()
• However, Seaborn makes it easy to alter plots.
• To remove the regression line, we use the
fit_reg=False command
Hue
Function
Another useful function in Seaborn is the hue function, which enables us to use a variable to colour code our data points.
Customisationwith
Customisation with
Seaborn
Seaborn

Changing Style and palette

Changing the Scale


Data exploration and
analysis
Thank you!

You might also like