Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
11 views2 pages

Experiment 2 - Minor

This document outlines an experiment focused on Data Visualization and Exploratory Data Analysis using Matplotlib and Seaborn for a Python lab course. It describes the objectives and prerequisites, as well as the features and benefits of both libraries for creating various types of visualizations. The conclusion indicates that the experiment involved analyzing the iris dataset using these tools.

Uploaded by

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

Experiment 2 - Minor

This document outlines an experiment focused on Data Visualization and Exploratory Data Analysis using Matplotlib and Seaborn for a Python lab course. It describes the objectives and prerequisites, as well as the features and benefits of both libraries for creating various types of visualizations. The conclusion indicates that the experiment involved analyzing the iris dataset using these tools.

Uploaded by

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

Academic Year: 2022-23 Name of Student:

Semester: VI Student ID:


Class / Branch/ Div: TE- IT A/B Roll No.
Subject: DS Using Python Skill based Lab Date of Submission:
Name of Instructor:

Experiment No.2
Aim: Data Visualization / Exploratory Data Analysis for the selected data set using Matplotlib
and Seaborn.
Prerequisites: python.
Objectives: - At the end of this experiment, you will be able to:
• Use Matplotlib for data visualization
• Use Seaborn for data visualization
Theory:
Exploratory Data Analysis refers to the critical process of performing initial investigations on
data so as to discover patterns, to spot anomalies, to test hypothesis and to check assumptions
with the help of summary statistics and graphical representations.

Matplotlib:
Matplotlib is an amazing visualization library in Python for 2D plots of arrays.

Matplotlib is a multi-platform data visualization library built on NumPy arrays and designed to
work with the broader SciPy stack. It was introduced by John Hunter in the year 2002.

One of the greatest benefits of visualization is that it allows us visual access to huge amounts of
data in easily digestible visuals. Matplotlib consists of several plots like line, bar, scatter,
histogram etc.

Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations
in Python. Matplotlib makes easy things easy and hard things possible.

• Create publication quality plots.


• Make interactive figures that can zoom, pan, update.
• Customize visual style and layout.
• Export to many file formats.
• Embed in JupyterLab and Graphical User Interfaces.
• Use a rich array of third-party packages built on Matplotlib.
Seaborn:

Department of Information Technology | APSIT


Academic Year: 2022-23 Name of Student:
Semester: VI Student ID:
Class / Branch/ Div: TE- IT A/B Roll No.
Subject: DS Using Python Skill based Lab Date of Submission:
Name of Instructor:

Seaborn is an amazing visualization library for statistical graphics plotting in Python. It provides
beautiful default styles and color palettes to make statistical plots more attractive. It is built on
the top of matplotlib library and also closely integrated to the data structures from pandas.

Seaborn aims to make visualization the central part of exploring and understanding data. It
provides dataset-oriented APIs, so that we can switch between different visual representations
for same variables for better understanding of dataset.

Plots are basically used for visualizing the relationship between variables. Those variables can be
either be completely numerical or a category like a group, class or division.
Seaborn divides plot into the below categories –

• Relational plots: This plot is used to understand the relation between two variables.
• Categorical plots: This plot deals with categorical variables and how they can be
• visualized.
• Distribution plots: This plot is used for examining univariate and bivariate distributions
• Regression plots: The regression plots in seaborn are primarily intended to add a visual
guide that helps to emphasize patterns in a dataset during exploratory data analyses.
• Matrix plots: A matrix plot is an array of scatterplots.
• Multi-plot grids: It is a useful approach is to draw multiple instances of the same plot on
different subsets of the dataset.
Conclusion: -
In this experiment, we have done exploratory Data Analysis for the iris data set using Matplotlib
and Seaborn

Department of Information Technology | APSIT

You might also like