# π Seaborn & Matplotlib Visual Lab Interactive **Streamlit** Space to explore **Seaborn** and **Matplotlib** side by side β from quick EDA plots to copy-ready code snippets you can reuse in notebooks. This Space runs fully in the browser. No uploads are required: it uses **Seabornβs built-in demo datasets** for safe, fast experimentation. [](https://streamlit.io/) [](https://seaborn.pydata.org/) [](https://matplotlib.org/) [](LICENSE) --- ## β What you can do here - Load classic **Seaborn demo datasets** (Tips, Penguins, Flights, Iris, Diamonds, Titanic, Car Crashes) - Build **Seaborn plots** interactively (distribution, relationships, categories, heatmaps, pairplots) - Recreate the same patterns using **Matplotlib** with lower-level control - Compare **Seaborn vs Matplotlib** for the *same* idea on one screen - Save figures into a **gallery** and download PNGs (or a ZIP archive) Use it as a small **visual lab**: learn β tweak β copy the code β reuse in real projects. --- ## π§ How to use the Space The app is organized into five main tabs: ### 1) Overview High-level view of the active dataset: - sample preview - dtypes + missingness summary - quick numeric distribution - small correlation heatmap (subset of numeric features) ### 2) Seaborn builder UI-driven Seaborn plotting: - plot families: **Distribution, Relationship, Category, Matrix/Heatmap, Multi-variable** - controls: columns, bins, KDE/ECDF, log-scale, hue grouping, top-K categories - auto-updated **Python snippet** you can copy ### 3) Matplotlib builder Low-level Matplotlib plotting: - plot types: **Line, Scatter, Bar, Histogram, Box, Subplots overview** - controls: axes, markers/size/alpha, horizontal vs vertical bars, density vs counts ### 4) Compare Side-by-side mapping between high-level Seaborn and raw Matplotlib: - **Distribution pattern:** histogram + KDE - **Relationship pattern:** scatter plot ### 5) Gallery Export hub: - save plots into a session gallery - download individual PNGs - download a ZIP with all saved figures --- ## π Datasets (built-in, no uploads) All data lives inside the Space and comes from **Seabornβs built-in catalog** β no external APIs and no personal data. Available datasets: - `tips` - `penguins` (NaNs dropped) - `flights` - `iris` - `diamonds` (sample) - `titanic` - `car_crashes` Switch datasets from the sidebar and the plots update instantly. --- ## πΈ Preview