Use case III: Coffee shop dashboard
An agent can turn a dataset into a polished dashboard very quickly. But if you do not specify what the dashboard needs to help someone understand, it may simply generate whatever metrics and charts are easiest to produce. In this case, you will build an interactive dashboard and test whether it answers the intended questions.
1. The business task
A small campus coffee shop operates three locations. Management is trying to better understand when each location gets busy and how demand changes throughout the day.
The dashboard should help answer three questions:
- When is each location busiest?
- Which products drive demand at different times of day?
- How do demand patterns differ between weekdays and weekends?
Your task is to use the available transaction data to build a simple interactive dashboard that helps management explore these questions.
2. Data available
- transactions.csv — transaction-level coffee shop sales data.
The file contains fields such as:
| Field | Description |
|---|---|
transaction_id |
Unique transaction identifier. |
timestamp |
Date and time of the transaction. |
location |
Coffee shop location. |
product |
Product purchased. |
category |
Product category, such as coffee, tea, food, or pastry. |
quantity |
Number of units purchased. |
unit_price |
Price per unit. |
Notice that some of the information needed for the dashboard is not directly stored in the file. For example, the agent may need to derive the hour of day, day of week, weekday/weekend status, transaction totals, or other calculated fields.
3. Try it yourself
Start by exploring transactions.csv so you understand its structure, fields, and level of detail.
Then build the interactive dashboard using whatever workflow you are comfortable with. The finished dashboard should help answer the three business questions above. Feel free to iterate or try different approaches. Do the best job you can.
When you're finished, keep your dashboard. In the next step, you'll verify both the calculations and the behavior of the application.
4. Verify the output
A dashboard can look polished and still be wrong or unhelpful. Test your dashboard using the checklist below.
| Check | Questions to ask |
|---|---|
| Purpose | Does the dashboard clearly help answer the three business questions? |
| Calculations | Are the metrics and derived fields calculated correctly? Is "busiest" defined consistently? |
| Aggregation | Are transactions, products, and time periods grouped at the correct level? |
| Interactions | Do filters and other controls update the relevant charts correctly, including when little or no data is returned? |
| Presentation | Are time periods ordered sensibly, and does each major visualization serve a useful purpose? |
Does your dashboard pass all of the checks? Are there calculations, interactions, or design choices that you would want to revise before someone relied on it?