Create Labels from Numeric Data with Quantize Scales in D3 v4

Share this video with your friends

Send Tweet

Sometimes data needs to be converted from a continuous range, like test scores, to a discrete set of output values, like letter grades. In this lesson we’ll see how to use d3.scaleQuantize() to do exactly that.