This chapter covers the core features and capabilities of KPI Dashboard.
Follow this guide to get KPI Dashboard up and running in your environment.
# Generate KPI dashboard from JSON
python src/kpi_dashboard.py --data examples/sample_kpis.json --output dashboard.html
# Custom title and auto-refresh every 30 seconds
python src/kpi_dashboard.py --data kpis.json --title "Acme Corp KPIs" --refresh 30
# Custom brand color
python src/kpi_dashboard.py --data kpis.csv --color "#FF3366" --output report.htmlJSON array of KPI objects:
[
{
"name": "MRR",
"value": 68700,
"unit": "$",
"green_above": 60000,
"yellow_above": 45000,
"trend": 5.2,
"target": 75000,
"description": "Monthly Recurring Revenue",
"category": "revenue"
}
]| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | Metric name displayed on card |
value | number | yes | Current metric value |
unit | string | no | Value format hint: "$", "%", "k" |
green_above | number | no | Threshold for green status |
yellow_above | number | no | Threshold for yellow status |
trend | number | no | Period-over-period change (%) |
target | number | no | Target value (shows progress bar) |
description | string | no | Explanatory text below value |
category | string | no | Category grouping label |
green_aboveyellow_above but < green_aboveyellow_aboveGet the full KPI Dashboard and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.