Contents

Chapter 1

Features

This chapter covers the core features and capabilities of KPI Dashboard.

Features

  • Traffic-light status — Green/yellow/red indicators based on configurable thresholds
  • Trend indicators — Period-over-period change with directional arrows
  • Target progress bars — Visual progress toward goals
  • Alert summary — Critical and warning KPIs highlighted at the top
  • Category grouping — Organize metrics by category (revenue, engagement, growth)
  • Auto-refresh — Set a refresh interval for live monitoring
  • Dark theme — Professional dark UI with brand accent color
  • Self-contained HTML — Single file output with embedded CSS

Requirements

  • Python 3.10+
  • No external dependencies (stdlib only)
Chapter 2

Quick Start

Follow this guide to get KPI Dashboard up and running in your environment.

Quick Start

bash
# 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.html

Input Format

JSON array of KPI objects:

json
[
    {
        "name": "MRR",
        "value": 68700,
        "unit": "$",
        "green_above": 60000,
        "yellow_above": 45000,
        "trend": 5.2,
        "target": 75000,
        "description": "Monthly Recurring Revenue",
        "category": "revenue"
    }
]

Field Reference

FieldTypeRequiredDescription
namestringyesMetric name displayed on card
valuenumberyesCurrent metric value
unitstringnoValue format hint: "$", "%", "k"
green_abovenumbernoThreshold for green status
yellow_abovenumbernoThreshold for yellow status
trendnumbernoPeriod-over-period change (%)
targetnumbernoTarget value (shows progress bar)
descriptionstringnoExplanatory text below value
categorystringnoCategory grouping label

Status Logic

  • Green: value >= green_above
  • Yellow: value >= yellow_above but < green_above
  • Red: value < yellow_above
  • Neutral: no thresholds defined
Chapter 3
🔒 Available in full product

Scheduling

Chapter 4
🔒 Available in full product

License

You’ve reached the end of the free preview

Get the full KPI Dashboard and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $19 →
📦 Free sample included — download another copy for the full product.
KPI Dashboard v1.0.0 — Free Preview