Picking a histogram bin count for store dashboards
A store’s order-value histogram can show two peaks at thirty days and one hump at a year, because the bin count never changed while the data did. Here’s how I pick bins server-side, cache the edges, and stop the guessing.