Histogram

Group raw measurements into equal-width frequency bins.

Import
@neural-charts/angular
Data
histogram

Live demo

Container width

The chart fits its available space automatically. Choose a width to simulate a different container.

Animation
240ms
Measurement distributionFrequencies calculated from original samples.0022446688121216.3316.3320.6720.67252529.3329.3333.6733.673838MeasureMeasureFrequency

Measurement distribution

Frequencies calculated from original samples.

Original data
SeriesindexvalueVisible
samples012Yes
samples115Yes
samples218Yes
samples319Yes
samples420Yes
samples520Yes
samples621Yes
samples722Yes
samples823Yes
samples923Yes
samples1024Yes
samples1124Yes
samples1225Yes
samples1325Yes
samples1425Yes
samples1526Yes
samples1626Yes
samples1727Yes
samples1828Yes
samples1929Yes
samples2030Yes
samples2132Yes
samples2235Yes
samples2338Yes

Tap a data point or explore it with the pointer or keyboard.

Configurator

Adjust the presentation and interaction of this example.

Chart elements and interaction
Chart toolbar
  1. CSV
  2. PNG
  3. SVG

Interactive examples

Open a chart to explore its data, try its options and copy its code.

When to use it

Use a histogram to inspect a numeric sample distribution. Column height is the sample count in each derived interval.

Chart API · Histogram

Expand a property to learn when to use it, see its public type, and find examples where applicable.

Data

The property data.type for this family is histogram.

Appearance

Customize presentation while keeping series and point identities stable.

Family options

Axes and grid

Data types and domains determine the scale. Use options.axes to change its presentation.

Tooltip

Customize the tooltip with code →

Interaction and state

Identify the selection and hidden series by ID.

Animation

Complete options and events reference

Explore the data

Select an observation with the pointer or enter the chart with Tab. Arrow keys navigate the data; Home and End move to the endpoints. Enter or Space selects, and Escape closes the detail.

The data table retains original values, including missing values and hidden series. A repeated label does not merge separate categories. Manual screen reader review remains pending.

Accessibility guide

Example data

Copy the current input object with its original identifiers and values.