From vizro-e2e-flow
Guides Vizro dashboard layout design: 12-col grids, component sizing (KPI/charts/tables), filter placement, data-type selectors (dropdown/slider), container patterns.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vizro-e2e-flow:designing-vizro-layoutsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Use `type: grid` (not `vm.Layout`). Recommended: **12 columns**, `row_min_height: "140px"`.
type: grid (not vm.Layout). Recommended: 12 columns, row_min_height: "140px".-1 for empty cells. Every component must form a perfect rectangle in the grid.| Component | Columns | Rows | Height |
|---|---|---|---|
| KPI Card | 2–3 | 1 | 140px |
| Small Chart | 4 | 3 | 420px |
| Large Chart | 6 | 4–5 | 560–700px |
| Table | 12 | 4–6 | 560–840px |
KPI cards: Place in the page Grid with equal columns and equal rows per card (e.g. 4 cards = 3 cols each). Use -1 for remaining empty cells. See layout-guidelines.md for the full KPI count lookup table and YAML examples. Charts need at least 2–3 rows to avoid looking squeezed.
targets: by default — all components containing the specified column are automatically affected. Only set targets: when you want to limit which components are affected.Default: Just provide the column name to Filter or Parameter — Vizro auto-selects the appropriate selector based on the data type. Only override when the auto-selected selector doesn't fit:
| Data type | Selector | Example |
|---|---|---|
| 2–4 options | RadioItems | Region (N/S/E/W) |
| 5+ options | Dropdown | Category (many) |
| Numeric range | RangeSlider | Price ($0–$1000) |
| Single number | Slider | Year (2020–2025) |
| Date | DatePicker | Order date |
| Multi-select | Checklist | Status (Active, etc.) |
Load layout-guidelines.md when you need: grid YAML examples (correct vs incorrect), flexible width distributions, container patterns (plain/filled/outlined), visual hierarchy principles, or Vizro platform constraints.
npx claudepluginhub mckinsey/vizro --plugin vizro-e2e-flowGuides dashboard design via 3-step workflow: requirements, layout, visualizations. For Vizro; generates YAML specs. Activates on design/plan requests before building.
Defines the YAML schema for grid dashboards with 6 cell types, grid layout, cell merging, and incremental build workflow. Required by skills that produce visual data dashboards.
Generates self-contained interactive HTML dashboards with KPI cards, charts, filters, and tables from queries, CSVs, or samples for reports and monitoring.