# Dot histogram — Detent

> A distribution stacked from dots, each one a fixed number of readings. Drag or flick the target pin and everything past it turns rose, catching on each column.

Canonical: https://detentui.com/components/histogram
Last updated: 2026-11-10

## About

A distribution stacked from dots, each one a fixed number of readings. Drag or flick the target pin and everything past it turns rose, catching on each column.

## Details

- Every column is a stack of dots, each dot a fixed number of readings, so the shape is also a count; they drop into place on arrival.
- The median and tail percentiles stand as quiet pins above the dots.
- Drag the target pin, or use the arrow keys, and every dot past it turns rose while the headline says what share misses it, so a goal like 95% under 800ms can be tried before it’s agreed.

## Install

```bash
npx shadcn add https://detentui.com/r/histogram
```

## Related
- [All components](https://detentui.com/components)
- [Pro](https://detentui.com/pro)
