Dashboards¶
Build interactive dashboards and visualizations with Metabase.
Overview¶
Dango includes Metabase, a business intelligence tool that runs automatically when you start your data platform. Query your DuckDB warehouse, build dashboards, and share insights—all through a web interface.
What Dango automates:
- Metabase installation and setup
- DuckDB connection configuration
- Admin user creation
- Schema synchronization
What Metabase provides:
- Visual query builder (no SQL required)
- SQL editor for advanced analytics
- Interactive dashboards with filters
- Sharing and collaboration features
Learn More About Metabase
For detailed Metabase features (visualizations, sharing, user management), see the official Metabase documentation.
Quick Start¶
Access Metabase¶
Start the Dango platform:
Open Metabase: http://localhost:3000
Auto-created credentials:
- Email:
admin@dango.local - Password:
dangolocal123
Your First Dashboard¶
Create a dashboard in 5 minutes:
1. Create a Question:
- Click "+ New" → "Question"
- Select "DuckDB" database
- Choose table:
marts.customer_metrics - Summarize: Sum of
lifetime_value - Group by:
created→ by Month - Visualization: Line chart
- Click "Save" → Name: "Monthly Revenue"
2. Create Dashboard:
- Click "+ New" → "Dashboard"
- Name: "Revenue Dashboard"
- Click "Add a saved question"
- Select "Monthly Revenue"
- Click "Save"
Done! Your first dashboard is ready.
Dashboard Guides¶
-
Metabase Overview
How Dango auto-configures Metabase for your DuckDB warehouse.
- Auto-created admin credentials
- DuckDB connection setup
- Available data schemas
- Data refresh workflow
-
Creating Dashboards
Build your first dashboard with Dango data.
- Quick start tutorial
- Querying marts vs raw data
- Dashboard layout tips
- Best practices
-
SQL Queries
DuckDB SQL patterns for querying Dango data.
- Schema-qualified names
- dlt metadata columns
- Date functions and patterns
- Query optimization
Available Data Schemas¶
Metabase has access to all Dango data layers:
| Schema | Description | When to Query |
|---|---|---|
raw | Single-table sources (CSV) | Debug source data |
raw_* | Multi-table sources (e.g., raw_stripe) | Explore raw API data |
staging | Auto-generated staging models | Build custom analytics |
intermediate | Reusable business logic | Advanced analysis |
marts | Analytics-ready tables | Dashboards (recommended) |
Best practice: Always prefer marts for dashboards—pre-aggregated, tested, and optimized.
Data Refresh¶
Metabase queries live data from DuckDB:
# 1. Sync new source data
dango sync
# 2. Run dbt transformations
dango run
# 3. Reload dashboard (data updates automatically)
No additional steps needed—Metabase shows updated data immediately.
Schema Changes¶
When you add new dbt models:
- Run
dango runto create the table - Sync Metabase schema: Admin → Databases → DuckDB → "Sync database schema now"
Or wait for the daily automatic sync (2 AM default).
Common Workflows¶
Explore Source Data¶
After syncing a data source:
View raw data in Metabase:
Query Staging Tables¶
Use auto-generated staging models:
SELECT * FROM staging.stg_stripe_charges
WHERE status = 'succeeded'
AND created >= CURRENT_DATE - INTERVAL 7 DAY
ORDER BY created DESC
Build Business Dashboards¶
Query marts created in dbt:
Best Practices¶
1. Query Marts, Not Raw¶
-- Good: Pre-aggregated mart
SELECT * FROM marts.revenue_by_month
-- Avoid: Aggregating raw data in Metabase
SELECT DATE_TRUNC('month', created), SUM(amount)
FROM raw_stripe.charges
GROUP BY 1
2. Use Meaningful Names¶
- Questions: "Monthly Revenue Trend" (not "Query 1")
- Dashboards: "Executive Overview" (not "Dashboard")
3. Keep Dashboards Focused¶
- One dashboard = One purpose
- 6-12 cards maximum
- Use filters instead of multiple similar dashboards
4. Add Date Filters¶
Make dashboards interactive with date range filters. Set sensible defaults (last 30 days).
Troubleshooting¶
Cannot Access Metabase¶
Table Not Found¶
- Add schema prefix:
marts.revenue_by_month - Verify table exists:
- Sync Metabase schema (Admin → Databases → Sync)
Slow Dashboards¶
- Query marts instead of raw tables
- Add date filters to limit data
- Create more specific dbt models
Metabase vs dbt Docs¶
| Feature | Metabase | dbt Docs |
|---|---|---|
| Purpose | Business intelligence | Technical documentation |
| Audience | Business users, analysts | Data engineers |
| URL | http://localhost:3000 | http://localhost:8800/dbt-docs |
| Features | Dashboards, visualizations | Lineage, SQL code |
Use both: dbt Docs for understanding transformations, Metabase for dashboards.
Next Steps¶
-
Metabase Overview
Learn about Metabase auto-configuration in Dango.
-
Transformations
Create marts tables with dbt for optimal dashboard performance.
-
Metabase Documentation
Full Metabase features: visualizations, sharing, embedding.