MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface HexbinPoint

    One hexagonal bin: where its centre is, and how many points fell in it.

    The centre is carried per bin rather than derived from a lattice origin and a cell size, because a hex lattice staggers alternate rows by half a cell -- so a bin's index does not give its position, and a consumer reconstructing one would have to know which rows a particular library chose to offset.

    interface HexbinPoint {
        x: string | number;
        y: string | number;
        count: number;
    }
    Index

    Properties

    Properties

    x: string | number

    The bin's centre along the x axis.

    y: string | number

    The bin's centre along the y axis.

    count: number

    How many points fell in it.