A practical Seaborn tutorial for exploratory data analysis: from beginner plots to cleaner comparisons, faceting, density views, heatmaps, and a compact Titanic EDA workflow.
- Beginner-friendly Seaborn examples with short, reusable cells
- Distribution, categorical, relationship, time-series, and faceted plots
- Version-safe snippets for Seaborn API differences such as
civserrorbar - Advanced visual patterns:
pairplot,jointplot,regplot,lmplot,ECDF,hexbin, and masked correlation heatmaps - A compact Titanic EDA mini-pipeline with a note on target-mirror leakage
- A final cheat sheet mapping analytical goals to Seaborn functions
Kaggle version:
This project uses Seaborn built-in sample datasets loaded with:
sns.load_dataset(...)Datasets used:
tipspenguinsflightsiristitanic
Note:
sns.load_dataset()may require internet access on the first run because Seaborn downloads the sample datasets.
python -m venv .venvWindows:
.venv\Scripts\activatemacOS/Linux:
source .venv/bin/activateInstall dependencies:
pip install -r requirements.txtThen open the notebook in Jupyter, JupyterLab, VS Code, or Kaggle and run it top-to-bottom.
.
├── seaborn-beginner-to-pro.ipynb
├── CASE_STUDY.md
├── requirements.txt
├── README.md
├── LICENSE
└── .gitignore
The goal is not to memorize every Seaborn function. The goal is to build judgment around plot selection:
- Which plot answers the current question?
- When is a simple chart better than a complex one?
- When should hue, facets, scales, or statistical helpers be added?
- Which visual patterns can mislead if used carelessly?
See CASE_STUDY.md for the project story, design decisions, and publishing notes.
MIT License. See LICENSE for details.
Copyright © Tarek Masryo.