Stop Rebuilding UI

Stats Histogram Distribution Card

A histogram distribution stats card for React and Next.js with a ChartContainer-wrapped Recharts BarChart of ten bucketed bars across the X axis, a muted var(--chart-2) fill, a tight 160px chart body, and a mean summary header built with shadcn/ui and Tailwind CSS

Scroll to load preview

Visualize the shape of a distribution with this histogram stats card for React and Next.js. Features a ChartContainer-wrapped Recharts BarChart with ten latency buckets across the X axis, rounded-top bars filled with var(--chart-2), a compact h-[160px] chart body, a CartesianGrid limited to horizontal dashed lines, ChartTooltipContent for per-bucket counts, and a header displaying sample size and median latency. Built with TypeScript, ChartContainer from shadcn/ui, Recharts BarChart, motion/react parent entrance, and Tailwind CSS. Perfect for API latency dashboards, response time percentile panels, test-score distribution views, and product usage histograms.

FAQ

Last updated on April 12, 2026

Was this page helpful?

Sign in to leave feedback.