Use Sturges’ formula to get a better suited number of bins, rather than a one size fits all of 8. This will give us a starting point, using the orders by subtotal as an example, we would have:
; Orders has a count of 17624
(Math/ceil (+ 1 (/ (Math/log10 17624) (Math/log10 2))))
;-> 16