Skip to main content

Interface: HistogramBin

Defined in: src/mobjects/graphing/stats.ts:13

One bin of a histogram.

Properties​

count​

count: number

Defined in: src/mobjects/graphing/stats.ts:19

Number of data values that fall in the bin.


density​

density: number

Defined in: src/mobjects/graphing/stats.ts:21

Probability density: count / (total * binWidth). Area over all bins is 1.


x0​

x0: number

Defined in: src/mobjects/graphing/stats.ts:15

Left edge of the bin (inclusive).


x1​

x1: number

Defined in: src/mobjects/graphing/stats.ts:17

Right edge of the bin (exclusive, except the last bin which is inclusive).