| 1 | [] | [1.0, 1.83, 2.67, 3.5, 4.33, 5.17, 6.0] | [0, 0, 0, 0, 0, 0] | [0, 0, 0, 0, 0, 0] | Initialize bins and counts |
| 2 | [1] | [1.0, 1.83, 2.67, 3.5, 4.33, 5.17, 6.0] | [1, 0, 0, 0, 0, 0] | [1, 0, 0, 0, 0, 0] | Count 1 in first bin |
| 3 | [1,2,2] | [1.0, 1.83, 2.67, 3.5, 4.33, 5.17, 6.0] | [1, 2, 0, 0, 0, 0] | [1, 3, 3, 3, 3, 3] | Count two 2s in second bin, cumulative sums updated |
| 4 | [1,2,2,3] | [1.0, 1.83, 2.67, 3.5, 4.33, 5.17, 6.0] | [1, 2, 1, 0, 0, 0] | [1, 3, 4, 4, 4, 4] | Count 3 in third bin, cumulative sums updated |
| 5 | [1,2,2,3,4] | [1.0, 1.83, 2.67, 3.5, 4.33, 5.17, 6.0] | [1, 2, 1, 1, 0, 0] | [1, 3, 4, 5, 5, 5] | Count 4 in fourth bin, cumulative sums updated |
| 6 | [1,2,2,3,4,5,5,5] | [1.0, 1.83, 2.67, 3.5, 4.33, 5.17, 6.0] | [1, 2, 1, 1, 3, 0] | [1, 3, 4, 5, 8, 8] | Count three 5s in fifth bin, cumulative sums updated |
| 7 | [1,2,2,3,4,5,5,5,6] | [1.0, 1.83, 2.67, 3.5, 4.33, 5.17, 6.0] | [1, 2, 1, 1, 3, 1] | [1, 3, 4, 5, 8, 9] | Count 6 in last bin, cumulative sums updated |
| 8 | All data processed | [1.0, 1.83, 2.67, 3.5, 4.33, 5.17, 6.0] | [1, 2, 1, 1, 3, 1] | [1, 3, 4, 5, 8, 9] | Plot cumulative histogram and show |