learntodriveai.dev/Analytics & BI/Interactive Dashboards and Self-Service Design
Analytics & BIProject 056 unitsVerified on 16 October 2026

Interactive Dashboards and Self-Service Design

Amina MsangiManaging Director · Bookstore chain · Dar es Salaam, Tanzania
Message · from Amina
I have 18 months of sales data from our three stores. I need an interactive dashboard that lets me explore the data — drilling into stores, categories, time periods. Right now I rely on weekly summary reports from my managers and they only show totals.
Chat with Amina

What you hand back

  • Written metric definitions in plain language and SQL
  • Three interactive plotly charts with drill-downs
  • An exploratory Metabase dashboard for Amina
  • A guided Metabase view for store managers
  • A README explaining the two views and why

6 units

  1. Unit 1: Amina's message and the POS data

    Read Amina's message, set up the project and Metabase, then profile the POS data.

    Open unit 1
  2. Unit 2: Data quality and metric definitions

    Check the POS data for quality problems, ask Amina about the anomalies, and write the metric definitions as SQL.

    Open unit 2
  3. Unit 3: Interactive plotly charts

    Plan the build order, then make interactive plotly charts with drill-downs, readable hover labels and sparse-data warnings.

    Open unit 3
  4. Unit 4: Metabase dashboard with self-service drill-downs

    Build an exploratory Metabase dashboard for Amina and a guided view for the store managers.

    Open unit 4
  5. Unit 5: Amina's review and the self-service test

    Show both dashboards to Amina, fix interaction paths that break, and check the same figure matches across all three views.

    Open unit 5
  6. Unit 6: Project close

    Review everything built, write the README with the design rationale, commit, and send Amina a final summary.

    Open unit 6
Read the full brief

You're building interactive dashboards for a bookstore chain in Dar es Salaam, Tanzania — plotly charts for exploratory analysis and Metabase dashboards for daily use, designed for two audiences with different data literacy.

The discipline skills: interactive visualization with plotly (drill-downs, hover details, cross-filters), self-service dashboard design for users who explore data fluently and users who need the questions already answered, and verifying that interactive paths work at every filter combination without breaking promises.

The AI-direction lesson: planning before prompting. When a session juggles metric definitions, data quality rules, and dashboard configuration at the same time, AI loses track. The skill is decomposing the work before starting — deciding what AI needs for each piece, in what order, with what context. Context curation enters: feeding AI the metric definitions and quality rules produces measurably better output than "build me a dashboard." What you include in the session determines what AI can do.

Your Role

You're building the interactive dashboards. Two tools this time: plotly for interactive charts in Jupyter, and Metabase for the persistent dashboards the team visits daily. The choice between them is about who sees the output and how.

You're designing for two audiences from the same data. The owner gets an exploratory dashboard where she controls the drill-downs. Her managers get a guided view where the questions are already set up. That second design is the harder problem.

What's New

Last time, you built a Metabase dashboard with information hierarchy, accessibility features, and automated metric validation for Diego's gym chain. You designed for where the primary KPI sits, who can read the colors, and whether the layout survives a new location opening.

This time, the dashboard is interactive. Clicking a bar should answer a follow-up question. A filter that produces an empty result with no explanation breaks a promise. And the audience splits: one dashboard for someone who explores data fluently, another for someone who needs the questions already answered.

plotly is new. Plan mode is new. Both enter in the first build unit.

The hard part is the dual-audience design. A drill-down that works for Amina overwhelms a store manager who does not know what to click.

Tools

  • Python 3.11+ (via Miniconda, "analytics" environment)
  • DuckDB
  • Jupyter Notebook
  • pandas
  • plotly (new — interactive visualizations)
  • Metabase (via Docker — continuing from P3/P4)
  • Docker
  • Claude Code (plan mode introduced)
  • Git / GitHub

Materials

  • POS data export — a single CSV covering three stores, 18 months of transactions across books, stationery, and cafe items.
  • Data dictionary — column definitions and business terminology for the POS export.
  • Interactive dashboard design guide — interaction paths, self-service patterns, minimum-data-point thresholds, guided versus exploratory design.
  • CLAUDE.md — project governance file with client context, work breakdown, and verification targets.
Materials · 9 files
Start Project 5

You work at a computer with a terminal. Signed in, your place is saved.