17. Seaborn
Seaborn
Install Seaborn -
Import Libraries
1. relplot
Order_ID
Year
Month
City
Customer_Type
Order_Value_K
Delivery_Time_Min
Customer_Rating
Distance_KM
Day_Type
Weather
Festival_Period
Time_Slot




size


Segmentation - style

Segmentation - row

Segmentation - col



2. relplot - line




An Example :
Retailer
Invoice Date
Region
State
City
Product
Price per Unit
Units Sold
Sales Method
total






Order_ID
Year
Month
City
Customer_Type
Order_Value_K
Delivery_Time_Min
Customer_Rating
Distance_KM
Day_Type
Weather
Festival_Period
Time_Slot


Let's Explore With Examples
Retailer
Invoice Date
Region
State
City
Product
Price per Unit
Units Sold
Sales Method
total
Year



Yearly Average Sales


Total Sales

📊 Correlation Heatmap — Notebook Explanation
📌 What is Correlation?
📌 What is a Correlation Heatmap?
🎨 How to Read Colors in a Correlation Heatmap
Color Meaning
Interpretation
📌 Why Use a Correlation Heatmap?
📌 Example Interpretation
🧠 Key Takeaway
Person ID
Gender
Age
Occupation
Sleep Duration
Quality of Sleep
Physical Activity Level
Stress Level
BMI Category
Blood Pressure
Heart Rate
Daily Steps
Sleep Disorder
Sleep Duration
Quality of Sleep
Stress Level
Age

regression - lmplot
Retailer
Invoice Date
Region
State
City
Product
Price per Unit
Units Sold
Sales Method
total

displot
Person ID
Gender
Age
Occupation
Sleep Duration
Quality of Sleep
Physical Activity Level
Stress Level
BMI Category
Blood Pressure
Heart Rate
Daily Steps
Sleep Disorder




displot - kdeplot


Categorical Plot
Retailer
Invoice Date
Region
State
City
Product
Price per Unit
Units Sold
Sales Method
total




Person ID
Gender
Age
Occupation
Sleep Duration
Quality of Sleep
Physical Activity Level
Stress Level
BMI Category
Blood Pressure
Heart Rate
Daily Steps
Sleep Disorder


Retailer
Invoice Date
Region
State
City
Product
Price per Unit
Units Sold
Sales Method
total


catplot - swarmplot
Order_ID
Year
Month
City
Customer_Type
Order_Value_K
Delivery_Time_Min
Customer_Rating
Distance_KM
Day_Type
Weather
Festival_Period
Time_Slot




catplot - boxplot
Retailer
Invoice Date
Region
State
City
Product
Price per Unit
Units Sold
Sales Method
total






catplot - violin


catplot - boxenplot


catplot - pointplot




catplot - countplot



catplot - barplot
Retailer
Invoice Date
Region
State
City
Product
Price per Unit
Units Sold
Sales Method
total






Assignments
🔹 Section 1: Relplot – Scatter - relplot data
🔹 Section 2: Relplot – Line - Adidas
🔹 Section 3: Correlation Heatmap (Sleep / Health Dataset)
🔹 Section 4: Regression – lmplot - Adidas
Last updated