Python Data Visualization, SQL Connectivity & EDA
Back to HIGH-IMPACT VISUAL STORYTELLING: MATPLOTLIB & SEABORN

LAB 2: Visual Storytelling, Statistical Distributions & Heatmaps

Construct multi-panel Matplotlib dashboards, statistical Seaborn distributions, log-scaled bubble charts, and correlation heatmaps.

50 minutesProject submission
๐ŸŽฏ Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.

Assignment Instructions

Module 2 Hands-On Lab: Visual Storytelling, Statistical Distributions & Heatmaps

Transform raw transactional data into publication-ready statistical visualizations using Matplotlib's Object-Oriented interface and Seaborn.

Download Starter Notebook: 02_data_visualization_and_heatmaps_starter.ipynb


Scenario & Business Context

Marketing and product leadership need a visual readout of customer order distributions, category performance, and multi-channel campaign returns. You will design clean, high-resolution figures that avoid misleading visual encodings.

What You Will Build & Demonstrate

TaskDeliverablePoints
T13 ยท Build a shared-axis trend dashboardfig_trend, two vertically stacked OO subplots, shared x-axis, 300 DPI export5
T14 ยท Show counts, distributions & group shapefig_distribution, 2x2 panel (KDE histogram, regional countplot, boxplot, strip/violin)4
T15 ยท Distinguish total revenue from Seaborn meanscategory_summary, fig_category, horizontal bar charts with long labels3
T16 ยท Encode four campaign dimensionsfig_campaign, marketing spend vs revenue, log-scale x, profit margin color gradient4
T17 ยท Build & read executive correlation heatmapsorder_features, corr, masked upper-triangle (np.triu), diverging palette4
T18 ยท Use pairwise, marginal & faceted viewspair_grid, joint_grid, facet_grid small multiples across customer tiers3

Total Points Available: 23 points (Pass: 80% / 19 pts)

Submission Guidelines

  1. Download the starter notebook .ipynb.
  2. Complete all visualization tasks and written chart interpretations.
  3. Verify all exported PNG figures regenerate in your local workspace.
  4. Save, restart kernel, execute from top to bottom, and upload below.
Checking your accessโ€ฆ