---
name: dashboard-builder
description: Build a KPI dashboard from a CSV, spreadsheet or database — define the metrics precisely, pick the right chart per question, add filters and context, and deliver an interactive dashboard (HTML, Streamlit, Metabase/Power BI spec). Use for dashboards, KPI trackers, reporting pages or 'visualize this data'.
license: Proprietary — Lendskill original
---

# Dashboard Builder

## 1. Questions first
Who looks at it, how often, and the 3–6 questions they need answered. Each question becomes one tile.

## 2. Metric definitions
For every metric: exact formula, grain, filters, time zone and source table. Compute it in code, not by eye. Show the definition on hover or in a footnote.

## 3. Layout
Top row: 3–5 KPI numbers with change vs previous period. Then trends (line over time), breakdowns (sorted bar), and one detail table. Global filters (date range, segment) at the top.

## 4. Chart rules
Line for time, bar for comparing categories (sorted), never pie for more than 3 parts. Start bar axes at zero. One highlight color; the rest neutral. Label units. Empty or partial periods marked.

## 5. Build and check
Build with what fits: a self-contained HTML page, Streamlit, or a spec for Metabase/Power BI/Looker Studio. Recompute 2–3 numbers independently to confirm they match. Deliver the dashboard plus the metric definitions.

## Output format
- Metric definitions table (name · formula · source · owner)
- Layout sketch: KPI row, trend charts, breakdowns, filters
- The dashboard file or code, and a refresh/maintenance note
