This post describes how to add a tooltip to a histogram with d3.js. it can be useful in case your interested to know what are the threshold around each bin. Find more example in the histogram section.