OptionalxKey holding the bin's centre along the x axis. Defaults to the chart's xKey.
OptionalyKey holding the bin's centre along the y axis. Defaults to the first yKeys entry, then a y column.
OptionalcountKey holding how many points fell in the bin.
Defaults to a count column, then length, value, n, total — the
length fallback being what makes a d3-hexbin bin work untouched, since
its bins are arrays of the points that fell in them.
OptionalrowKey holding the lattice row a bin sits on, for data that names it.
Omitted, rows are grouped by identical y centre, which is what a lattice computed by the usual libraries produces.
Configuration for hexbin density plots. Optional when
chartTypeis'hexbin'.Recharts has no hexbin either: the marks are a
<Scatter>given a hexagonalshape, and the binning happens before the chart is drawn. Sodatais one row per OCCUPIED bin — an empty bin is not drawn and not announced — and the adapter assembles the lattice those bins form: rows grouped by their y centre, ordered from the lowest upward, each row ordered left to right.The centres are in DATA units. Screen coordinates would announce every bin's position in pixels.