# Application Chart: Stacked Category Bars

A stacked bar chart of support tickets by category over six weeks with a footnote naming the fastest growing series.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/stacked-category-bars
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Charts](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts)
- Created: 2026-06-15
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/stacked-category-bars.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-charts-stacked-category-bars
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: recharts
- shadcn/ui components: chart
- Installs to: `@/components/blocks/application-pro/charts/stacked-category-bars`

## About this block

Stacked Category Bars charts inbound support tickets
across six weeks (Wk 22 through Wk 27) with four stacked
series: Bug in var(--chart-1), Feature request in
var(--chart-2), Account in var(--chart-3), and Other in
var(--chart-4). The panel reads Tickets by category,
Inbound support tickets, weeks 22 through 27. A footnote
names what moved: Feature request volume grew 105% over
the 6-week window, the fastest growing category. Bug
tickets rose 58%. Built on ui/chart with recharts.

The chartData array has one object per week with a key
per series. The chartConfig maps each key to its label
and chart token so the legend and tooltip are consistent
without manual wiring.

## When to use

Reach for this block on a support or ops dashboard to
show weekly ticket volume broken down by category. Wire
chartData to a tickets-grouped-by-week-and-category
query; update the footnote to name the trend that
matters for the current period.

A natural flow around it on an Application Pro page:

**Before**

- [Kpi cards row](https://www.shadcn-ui-blocks.com/blocks/application-pro/stat-cards)

**After**

- [Data table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables)
- [Area with range chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts)

## What you can display

One strong use is weekly support ticket volume by type.
Other stacked bar views:

- **Weekly deploys by environment.** Production, staging,
  and preview stacked per week to show release cadence.
- **Revenue by plan tier.** Free, Pro, and Enterprise
  MRR stacked monthly to surface mix shift.
- **Signups by channel.** Organic, paid, and referral
  weekly counts to track acquisition composition.

> Tip: the footnote naming the fastest-growing series is
> what turns a chart into an insight; write it from the
> data, not as a placeholder.

## More in Application Charts

- [Area With Range Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/area-with-range-chart)
- [Bubble Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/bubble-chart)
- [Bullet KPI Rows](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/bullet-kpi-rows)
- [Cohort Retention Heatmap](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/cohort-retention-heatmap)
- [Conversion Funnel Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/conversion-funnel-bars)
- [Diverging Survey Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/diverging-survey-bars)
- [Dumbbell Latency Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/dumbbell-latency-chart)
- [Gauge Progress Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/gauge-progress-chart)
- [Grouped Bar Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/grouped-bar-chart)
- [Heatmap Calendar Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/heatmap-calendar-chart)
- [Histogram Distribution Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/histogram-distribution-chart)
- [Horizontal Bar Ranking](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/horizontal-bar-ranking)
- [Latency Percentile Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/latency-percentile-chart)
- [Mrr Stacked Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/mrr-stacked-bars)
- [Multi Line Trend](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/multi-line-trend)
- [Pareto Error Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/pareto-error-chart)
- [Percent Stacked Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/percent-stacked-bars)
- [Plan Mix Donut](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/plan-mix-donut)
- [Radar Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/radar-chart)
- [Radial Usage Rings](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/radial-usage-rings)
- [Revenue Area Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/revenue-area-chart)
- [Scatter Plot Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/scatter-plot-chart)
- [Signups Bar Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/signups-bar-chart)
- [Slope Comparison Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/slope-comparison-chart)
- [Sparkbar Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/sparkbar-row)
- [Stepped Area Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/stepped-area-chart)
- [Usage Line Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/usage-line-chart)
- [Waterfall Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/waterfall-chart)
- [Weekly Active Users Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/weekly-active-users-chart)
