Create callback functions that bin your data into histogram buckets