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

Seaborn Assignment

The document discusses using the Seaborn library in Python to plot different chart types using built-in datasets. It includes questions about plotting a line plot, box plots, histogram, pair plot, and heatmap using datasets for fMRI scans, Titanic passenger data, diamond prices, iris flower measurements, and flight data.

Uploaded by

smita prajapati
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)
130 views2 pages

Seaborn Assignment

The document discusses using the Seaborn library in Python to plot different chart types using built-in datasets. It includes questions about plotting a line plot, box plots, histogram, pair plot, and heatmap using datasets for fMRI scans, Titanic passenger data, diamond prices, iris flower measurements, and flight data.

Uploaded by

smita prajapati
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

Seaborn

Assignment Questions
Assignment
Que 1: Name any five plots that we can plot using the Seaborn library. Also, state the uses of each plot.

Que 2: Load the "fmri" dataset using the load_dataset function of seaborn. Plot a line plot using x =
"timepoint" and y = "signal" for different events and regions. 

Note: timepoint, signal, event, and region are columns in the fmri dataset.

Que 3: Load the "titanic" dataset using the load_dataset function of seaborn. Plot two box plots using x =
'pclass', y = 'age' and y = 'fare'.

Note: pclass, age, and fare are columns in the titanic dataset.

Que 4: Use the "diamonds" dataset from seaborn to plot a histogram for the 'price' column. Use the hue
parameter for the 'cut' column of the diamonds dataset. 

Que 5: Use the "iris" dataset from seaborn to plot a pair plot. Use the hue parameter for the "species" column
of the iris dataset. 

Que 6: Use the "flights" dataset from seaborn to plot a heatmap.

Note: Create your assignment in Jupyter notebook and upload it in GitHub & share that github

repository link through your dashboard. Make sure the repository is public.

Data Science Masters

You might also like