# Application Chart: Pareto Error Chart

A Pareto chart pairing error category bars sorted by volume with a cumulative share line on a second percentage axis.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/pareto-error-chart
- 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-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/pareto-error-chart.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-charts-pareto-error-chart
```

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/pareto-error-chart`

## About this block

Pareto Error Chart is the error triage panel, six
categories sorted by volume from Timeout (412) down to
Other (21), each a bar on the left count axis. A cumulative
share line rides the right percentage axis and climbs from
45.8% at the first category to 100% at the last, so the
reader sees how few categories carry most of the volume.
The header callout reads the total, 811 errors across the
last 7 days.

The block is a recharts ComposedChart on ui/chart, with a
Bar bound to the count axis and a Line bound to a second
percentage axis fixed to a 0 to 100 domain. The category
counts and precomputed cumulative values live in one typed
array, so swapping in your real error aggregates is a
single data update.

## When to use

Reach for this block on a reliability or observability
dashboard where the team needs to know which error classes
to fix first. Wire the array to your logging backend grouped
by error type, sorted descending, with the cumulative share
running left to right so the 80/20 line is honest.

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)
- [Status health](https://www.shadcn-ui-blocks.com/blocks/application-pro/status-health)

## What you can display

One strong use is the production error breakdown by
category. Other Pareto reads:

- **Support ticket causes.** Ticket volume per reason code
  with a cumulative line to find the vital few.
- **Latency contributors.** Slow endpoints ranked by total
  time spent, cumulative share across the set.
- **Defect sources.** Bug counts per module ordered by
  frequency, cumulative percent alongside.

> Tip: sort the bars strictly by volume so the cumulative
> line only ever rises; an out-of-order bar breaks the read.

## 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)
- [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)
- [Stacked Category Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/stacked-category-bars)
- [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)
