dashboard-build
Use this skill to build, implement, and test Vizro dashboards (Phase 2). Activate when the…
Use this skill when choosing chart types, applying Plotly Express conventions, configuring colors, building KPI cards, or adding tables (AG Grid) to Vizro dashboards. Activate when the user asks which chart fits their data, needs custom chart functions, wants to set colors or
$ npx -y skills add mckinsey/vizro --skill selecting-vizro-charts --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/selecting-vizro-chartsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill when choosing chart types, applying Plotly Express conventions, configuring colors, building KPI cards, or adding tables (AG Grid) to Vizro dashboards. Activate when the user asks which chart fits their data, needs custom chart functions, wants to set colors or
name: selecting-vizro-charts description: Use this skill when choosing chart types, applying Plotly Express conventions, configuring colors, building KPI cards, or adding tables (AG Grid) to Vizro dashboards. Activate when the user asks which chart fits their data, needs custom chart functions, wants to set colors or palettes, is creating KPI metric cards, or needs a tabular detail view.
| Data question | Chart | | ----------------------- | --------------------------- | | Compare categories | Bar (horizontal preferred) | | Trend over time | Line (12+ points) | | Part-to-whole (simple) | Pie/donut (2–5 slices only) | | Part-to-whole (complex) | Stacked bar | | Distribution | Histogram or box | | Correlation | Scatter |
**Never use**: 3D charts, pie with 6+ slices, dual Y-axis, bar charts not starting at zero.
Use when: aggregation/sorting needed, `update_layout()`/`update_traces()` calls, reference lines, parameter-driven logic, dual-axis, multi-trace `go.Figure()`, shared legend control.
**In practice, most bar and line charts need `@capture("graph")` functions** that aggregate data inside. Inline `px.bar(data_frame="raw", x="region", y="revenue")` on detail-level data stacks individual rows as separate rectangles instead of summing — producing visually broken charts.
Load [chart-best-practices.md](references/chart-best-practices.md) when you need: extended chart type decision tree, Plotly Express formatting conventions (100% stacked bar, axis/legend cleanup), palette/color names and use cases, accessibility rules, or detailed `@capture("graph")` guidance.
Vizro is a low-code toolkit for building high-quality data visualization apps.
Repo: mckinsey/vizro
Use this skill to build, implement, and test Vizro dashboards (Phase 2). Activate when the…
Use this skill first when the user wants to design or plan a dashboard, especially Vizro…
Use this skill when designing or building Vizro dashboard layouts — grid configuration,…
Use this skill when adding cross-filter, cross-highlight, drill-through, or data export…
Use this skill when writing or debugging Vizro YAML dashboard configurations — component…