This chapter covers the core features and capabilities of Dashboard Builder.
Follow this guide to get Dashboard Builder up and running in your environment.
# Generate a demo SaaS metrics dashboard
python src/main.py --demo
# Generate from a JSON config
python src/main.py --json examples/config.json
# Specify output directory
python src/main.py --demo --output ./my-dashboardsThen open the generated HTML file in your browser.
from main import DashboardConfig, MetricCard, ChartData, DataTable, DashboardGenerator
config = DashboardConfig(
title="My Dashboard",
metrics=[
MetricCard(title="Revenue", value="$12,345", change=8.5, icon="$"),
],
charts=[
ChartData(
title="Monthly Revenue",
chart_type="bar",
labels=["Jan", "Feb", "Mar"],
datasets=[{"label": "MRR", "values": [10000, 11500, 12345], "color": "#4F46E5"}],
),
],
)
generator = DashboardGenerator(config)
path = generator.save()Get the full Dashboard Builder 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.