Histogram aggregation

Acts like d3.layout.histogram defined using bin thresholds