Bin Before Bars

Start with five values: 2, 3, 5, 7, and 8. Use three fixed bins: 0-3, 4-6, and 7-9. The first bin gets 2 and 3, the middle bin gets 5, and the last bin gets 7 and 8. The bin labels are chosen reading buckets. They are not measured values from the data.

A tiny binning step: assign pinned numeric values to fixed reading buckets, then draw bin-count bars.

highlighted = computed this step

Start with values

Start with 5 pinned numeric values.

pinned values\text{pinned values}
Pinned Numeric Valuesrowvalue1223354758

Assign fixed bins

Assign each value to one fixed reading bin.

assign values to bins\text{assign values to bins}
Value-to-Bin Assignmentvaluebin label20-330-354-677-987-9

Count each bin

Draw one bar for the count in each bin.

bin counts\text{bin counts}
Counts per Chosen Binbin labelcount012320-314-627-9

Read bins as buckets

Bin labels are chosen reading buckets, not measured values.

bin labels are buckets\text{bin labels are buckets}
Bin Readout Boundaryitemreadoutbin labelschosen reading buckets0-32 values4-61 value7-92 values