3.2 Build your dashboard
Info
kpis-elektra.csv, shows KPI cards with traffic-light indicators and a detail table, and verify it in the Browser pane. This is the session’s star exercise.
Note
You’re the director; today you don’t wait on IT. You’ll build an executive Elektra Rewards dashboard with your own fictitious data. All from the Code tab, in Manual mode.
Step 1 — Give the request
In the chat pane, type (or paste) this prompt. Make sure datos/kpis-elektra.csv is in the folder you selected.
Tip
Step 2 — Review the diff, file by file
When Claude proposes changes, a diff indicator like +N −M appears (lines added/removed). In the diff pane:
- Open each proposed file and read it.
- Comment on specific lines if you want a tweak before accepting.
- Decide Accept or Reject for each change.
In Manual, nothing is written to your folder until you accept. You’re in control.
Step 3 — Verify in the Browser pane
Claude opens your page in the Browser pane and self-verifies: it takes screenshots, clicks, and checks the cards and table look right. Confirm yourself:
- The KPI cards show the correct traffic light (green/amber/red) based on each value vs its target.
- The red KPIs (high churn in Feb/Mar and dropped ROI in Feb/Mar) stand out. Redemption is rising, so it never turns red.
- The detail table lists all rows from the CSV.
Step 4 — Iterate with context
Refine without rewriting everything. Two powerful ways to give context:
- @file mentions: type
@kpis-elektra.csvto point exactly at which file to look at. - Drag mockups or screenshots: drop a reference image or a screenshot of the layout you want.
Warning
Warning
✅ Checkpoint
You have a working HTML dashboard, open in the Browser pane, with KPI cards showing correct traffic lights and a detail table. You accepted changes by reviewing the diff, and refined at least once with an @mention or an iteration.