Standard Data
Histogram Chart
Responsive SVG histogram for numeric arrays with configurable bins, accessible summary, labelled counts, and no chart dependency.
$ velocityx add standard-histogram-chart Built for astro.
Full docs for Histogram Chart →
Needs a licence key —
subscribe here, then
velocityx loginonce.
View bin counts
| Range | Count |
|---|---|
| 12– 15.63 | 3 |
| 15.63– 19.25 | 4 |
| 19.25– 22.88 | 5 |
| 22.88– 26.5 | 6 |
| 26.5– 30.13 | 5 |
| 30.13– 33.75 | 2 |
| 33.75– 37.38 | 1 |
| 37.38– 41 | 2 |
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| values | number[] | Yes | ||
| bins | number | No | 8 | |
| label | string | No | "Value distribution" | |
| locale | string | No | "en-AU" | |
| height | number | No | 220 | |
| className | string | No | "" |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/standard-histogram-chart/HistogramChart.astro Using the Histogram Chart component
Install it with velocityx add standard-histogram-chart.
The CLI writes the source straight into your project — no runtime dependency, no registry
lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.
Related components
More from Standard Data.
A compliance-grade record of who did what and when, grouped under calendar-day headers with a severity tag per row and a details disclosure that reveals the structured change data only when someone needs it — built for security and admin audit trails, not a social activity stream.
astroShows when a dataset was last updated in plain words, flags it as stale past a threshold you set, and exposes a Refresh action — so a dashboard never leaves a viewer guessing whether the numbers on screen are current.
astroShimmering placeholder rows sized to match the real table's columns, so a data grid has zero layout shift the moment live rows arrive.
astroSemantic record details in stacked or two-column layouts with optional field hints and empty-value text.
astro