0% found this document useful (0 votes)
6 views1 page

Data Visualization Lab Manual

The document is a lab manual for visualizing the Iris dataset using Heatmap, Boxplot, and Pair Plot. It outlines the software requirements, procedure, and provides sample Python code for executing the visualizations. The learning outcomes emphasize students' understanding of data distribution, correlation, and relationships through these visualization techniques.

Uploaded by

Nageswara Rao G
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)
6 views1 page

Data Visualization Lab Manual

The document is a lab manual for visualizing the Iris dataset using Heatmap, Boxplot, and Pair Plot. It outlines the software requirements, procedure, and provides sample Python code for executing the visualizations. The learning outcomes emphasize students' understanding of data distribution, correlation, and relationships through these visualization techniques.

Uploaded by

Nageswara Rao G
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

Data Visualization Lab Manual

Experiment: Visualization using Heatmap, Boxplot, and Pair Plot


Aim: To visualize a dataset using Heatmap, Boxplot, and Pair Plot.

Software Requirements:
Python, Jupyter Notebook, Pandas, Matplotlib, Seaborn

Dataset Used: Iris Dataset

Procedure:
1 Import required libraries (pandas, matplotlib, seaborn).
2 Load the iris dataset using seaborn.
3 Explore the dataset using head(), info(), and describe().
4 Generate a correlation matrix and plot Heatmap.
5 Create Boxplot to identify distribution and outliers.
6 Generate Pair Plot to analyze relationships between features.

Python Code (Sample):


import pandas as pd import seaborn as sns import [Link] as plt data =
sns.load_dataset('iris') # Heatmap [Link]([Link]('species', axis=1).corr(), annot=True)
[Link]() # Boxplot [Link](x='species', y='sepal_length', data=data) [Link]() # Pair Plot
[Link](data, hue='species') [Link]()

Result: Dataset successfully visualized using Heatmap, Boxplot, and Pair Plot.

Learning Outcomes:
Students understand data distribution, correlation, and relationships using visualization techniques.

You might also like