# Application Chart: Histogram Distribution Chart

A card panel charting API response times bucketed into 100 ms bins as a single distribution, with a p95 callout and a dashed reference line.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/histogram-distribution-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-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/histogram-distribution-chart.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-charts-histogram-distribution-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/histogram-distribution-chart`

## About this block

Histogram Distribution Chart is the latency shape panel,
API response times over the last 24 hours bucketed into
100 ms bins from 0 up to a 700 ms tail, each bin a bar on a
single count axis. A dashed reference line marks the p95
bucket, and the header callout reads the p95 value, 487 ms,
so the reader sees both the bulk and the tail at once.

The block is a recharts BarChart on ui/chart with a single
series and a ReferenceLine at the p95 bin. The bin labels
and request counts live in one typed array, so swapping in
your real telemetry is a single data update, and the tight
bar gap keeps the bins reading as a continuous distribution.

## When to use

Reach for this block on a performance or observability
dashboard where the team needs to see the shape of a metric,
not just its average. Wire the array to your telemetry
backend bucketed by response time, and set the p95 line to
the bin that holds your ninety-fifth percentile.

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 request latency distribution. Other
histogram reads:

- **Order value spread.** Checkout totals bucketed by
  amount to see where the mass of orders sits.
- **Session length.** Time on task bucketed into minute
  bins with the tail of long sessions visible.
- **Score distribution.** Survey or health scores binned
  to show clustering around a range.

> Tip: keep the bin gap tight so the bars read as one
> continuous distribution rather than separate categories.

## 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)
- [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)
- [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)
