truthound dashboard¶
Launch an interactive dashboard for data exploration.
Synopsis¶
Arguments¶
None.
Options¶
| Option | Short | Default | Description |
|---|---|---|---|
--profile |
-p |
None | Profile file to load |
--port |
8080 |
Server port | |
--host |
localhost |
Server host | |
--title |
-t |
Truthound Dashboard |
Dashboard title |
--debug |
false |
Enable debug mode |
Description¶
The dashboard command launches an interactive web dashboard:
- Starts local web server
- Loads profile data (if provided)
- Serves interactive UI
- Enables real-time data exploration
Dashboard Features¶
- Interactive data exploration - Browse columns, filter data
- Column filtering and search - Find specific fields quickly
- Real-time quality metrics - Live validation status
- Pattern visualization - Charts and graphs
- Data comparison - Side-by-side analysis
Installation¶
The dashboard requires additional dependencies:
Examples¶
Basic Dashboard¶
Opens dashboard at http://localhost:8080.
Load Profile Data¶
Custom Port and Host¶
Opens dashboard at http://0.0.0.0:3000 (accessible from network).
Custom Title¶
Debug Mode¶
Enables debug mode for the dashboard server.
Debug Mode
The --debug flag is passed to the dashboard server. Actual behavior
depends on the underlying Reflex framework implementation.
Complete Example¶
truthound dashboard \
--profile profile.json \
--port 8080 \
--host localhost \
--title "Production Data Dashboard" \
--debug
Workflow¶
1. Generate Profile First¶
# Create profile from data
truthound auto-profile data.csv -o profile.json --format json
# Launch dashboard with profile
truthound dashboard --profile profile.json
2. Explore Data¶
- Open browser at
http://localhost:8080 - Browse column statistics
- Filter by data type or quality
- View distribution charts
- Export findings
Dashboard Sections¶
Overview¶
- Dataset summary (rows, columns, size)
- Overall quality score
- Quick stats
Columns¶
- Column list with search
- Data type indicators
- Null percentage bars
- Click for details
Quality¶
- Validation results
- Issue breakdown by severity
- Pass/fail rates
Charts¶
- Distribution histograms
- Correlation matrix
- Missing value heatmap
Settings¶
- Theme toggle (light/dark)
- Export options
- Refresh controls
Use Cases¶
1. Data Exploration¶
# Quick data exploration
truthound auto-profile new_dataset.csv -o profile.json --format json
truthound dashboard --profile profile.json
2. Team Collaboration¶
# Share on local network
truthound dashboard --profile profile.json --host 0.0.0.0 --port 8080
# Team members access via http://<your-ip>:8080
3. Development Workflow¶
4. Presentation Mode¶
# Custom title for presentations
truthound dashboard \
--profile quarterly_profile.json \
--title "Q4 Data Quality Review"
Configuration¶
Command-Line Configuration¶
All configuration is done via command-line options:
truthound dashboard \
--profile profile.json \
--port 3000 \
--host 0.0.0.0 \
--title "My Dashboard"
Profile Required
The --profile option is required for the dashboard to display data.
Running without a profile will result in an error.
Comparison: Dashboard vs. Static Reports¶
| Feature | Dashboard | docs generate |
|---|---|---|
| Interactivity | Full | None |
| Server required | Yes | No |
| Offline viewing | No | Yes |
| Real-time updates | Yes | No |
| Sharing | URL | File |
| Best for | Exploration | Documentation |
When to Use Dashboard¶
- Interactive data exploration
- Team collaboration
- Real-time monitoring
- Development workflow
When to Use Static Reports¶
- CI/CD artifacts
- Email distribution
- Offline viewing
- Permanent documentation
Exit Codes¶
| Code | Condition |
|---|---|
| 0 | Server stopped gracefully |
| 1 | Server error |
| 2 | Invalid arguments |
Keyboard Shortcuts¶
| Shortcut | Action |
|---|---|
Ctrl+C |
Stop server |
r |
Refresh data (in browser) |
/ |
Focus search |
? |
Show help |
Related Commands¶
docs generate- Generate static reportsauto-profile- Generate profile dataprofile- Basic profiling