| name | plotly-dashboard-skill |
| description | Build production-ready Plotly Dash dashboards. Use when scientific data needs an interactive, consistently themed layout with clear and performant callbacks. |
Plotly Dashboard Skill
Create interactive dashboards with a single source of truth for UI and figure styling.
Instructions
- Capture audience, questions, and data constraints.
- Pick a layout pattern and component library.
- Define a theme and Plotly figure template.
- Build the layout skeleton before callbacks.
- Implement callbacks with clear inputs/outputs.
- Optimize slow callbacks with caching or pre-aggregation.
Quick Reference
| Task | Action |
|---|
| UI style guide | See STYLE_GUIDE.md |
| Figure template | See FIGURE_STYLE.md |
| Palettes | See PALETTES.md |
| App architecture | See DASH_ARCHITECTURE.md |
| Performance | See PERFORMANCE.md |
| Runnable smoke app | Runnable app |
| Definition of done | QA checklist |
Input Requirements
- Audience and key decisions
- Data sources and update cadence
- Required filters and views
- Deployment constraints
Output
- Dash app scaffold (layout + callbacks)
- Consistent theming and figure templates
- README with usage notes
Quality Gates
Examples
Example 1: Layout-first workflow
Header + filters + KPI row + primary trends + breakdown table
Troubleshooting
Issue: Slow callbacks
Solution: Cache expensive steps or pre-aggregate data.