Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Lesson 7 — Data Visualization for Communication

(chart choice, storytelling, interactive plots, and honest interpretation)

Why this matters (motivation)

In business and economics, most decisions are made from:

Even a correct model can be ignored if the story is unclear.
And a misleading chart can create confidence in the wrong conclusion.


The visualization mindset: “What question does this answer?”

A practical checklist (before you plot)

  1. Unit of observation: customer? transaction? month? firm?

  2. Aggregation rule: sum, mean, median, rate per 1,000?

  3. Comparability: are groups measured the same way?

  4. Missingness: are you hiding missing values?

  5. Uncertainty: do you need error bars, bands, or sample sizes?


Chart chooser (fast and useful)

Common business questions and “good default” charts


Honest charts: common ways charts mislead (often unintentionally)

1) Truncated axes

A bar chart with a y-axis that doesn’t start at 0 can exaggerate differences.

2) Aggregation traps

Averages can hide important patterns:

3) Cherry-picking time windows

Trends can flip depending on start/end dates.

4) Too much ink / too many categories

Clutter weakens interpretation. If there are many categories:

5) Causality by implication

A chart can quietly suggest a causal story (e.g., “marketing causes sales”) even if the analysis only shows correlation.


Building a “data story” (how to present visuals)

Template: chart caption that actually helps

Example caption:

“Sales in Category A increased steadily after 2021, while Category C declined. The change coincides with a shift in marketing spend; however, the relationship is correlational and may reflect seasonality or pricing differences.”


Visualization and uncertainty (optional but powerful)

Sometimes “point estimates” are not enough. Options:


Mini case: communicating a regression result visually

From Week 6, you may have estimated:

How to visualize for communication:


Mini-lab (Google Colab)

In-class checkpoints (core)

  1. Create one chart for each purpose:

    • comparison (bar)

    • trend (line)

    • distribution (hist/box)

    • relationship (scatter)

  2. For each chart, add:

    • title with variable and unit

    • readable axis labels

    • a short caption (“headline + meaning”)

In-class checkpoints (storytelling)

  1. Choose ONE question and build a mini “dashboard” (2–4 charts):

    • Example questions:

      • “Which category is growing and why?”

      • “Which segment has higher churn risk signals?”

      • “How did the key metric change before/after a policy/event date?”

  2. Write a short narrative:

    • 1 headline sentence

    • 3 bullet points (evidence)

    • 1 caveat

In-class checkpoints (optional extensions)

  1. Add an uncertainty element:

    • show sample sizes

    • or show a distribution instead of an average

    • or add a rolling average line (time series)

  2. Make an interactive Plotly version of at least one plot with hover labels and filters.

Submission (after class)


Tool box: minimal code patterns (for your notebook)

(In your Colab notebook, you can include these as “snippets” for students to modify.)


AI check (responsible use for visualization)

Good prompt examples

Bad prompt example


Review questions (quiz / reflection)

  1. Which chart type would you use for: (i) trend, (ii) distribution, (iii) relationship—and why?

  2. What is one example of a misleading chart design choice and how to fix it?

  3. Why can aggregation hide important patterns? Give one example from business/economics.