← Data Visualization learning path
Data Visualization · Module 6 of 10

Seaborn and Plotly

Make statistical and interactive charts quickly.

📖 Key ideas

  1. Seaborn builds on Matplotlib with nicer defaults: import seaborn as sns.
  2. sns.histplot, boxplot, barplot, scatterplot, heatmap.
  3. hue colours by category.
  4. Plotly creates interactive charts with zoom and hover: plotly.express as px.
  5. px.line, px.bar, px.scatter work directly with DataFrames.
💡 Real-life example: Seaborn is a ready-made meal; Plotly is a meal you can rotate and inspect at the table.
SeabornStatistical plotting library
hueColour by a category
HeatmapGrid coloured by value
Plotly ExpressHigh-level interactive charts