Chart

Histogram

Web supportediOS supportedAndroid supported

Group raw values into bins.

ECharts bar series over computed bins · View source

Use it to inspect the shape and spread of a distribution.

Configuration

Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.

NameTypeDefaultDescription
values*number[]—Raw observations.
binCountnumber10 web / 12 nativeNumber of bins.
valueFormatChartNumberFormat—Format for bin labels.
axisChartAxes{ x: true, y: true }Show or hide each axis.
xAxisNativeChartAxisOptions—Horizontal scale, domain, ticks, grid, and labels.
yAxisNativeChartAxisOptions—Vertical scale, domain, ticks, grid, and labels.
heightnumber240 web / 320 nativeChart height in pixels or native points.
isLoadingbooleanfalseShows the built-in placeholder while data loads.
themeChartTheme—Colors and typography for this chart.