shadcn: how do I build a KPI dashboard with scheduled charts?
Summary Start with dashboard-01 for the layout, bind chart data through Recharts, and use a Cloudflare scheduled handler for periodic jobs. The SQL, database connection and metric definitions still need a separate design.
Not for subscription billing or a complete Postgres aggregation implementation.
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread case-kpi-dashboard-charts-postgres-scheduled-refresh and help me try it