d3.scaleQuantize()
Equally sized bins
d3.scaleThreshold()
Explicit thresholds
d3.scaleQuantile()
Implicit thresholds
Equally populated bins
0.5
<path class="domain" stroke="#000" d="M-6,0.5H0.5V100.5H-6"></path>
<g class="tick" opacity="1" transform="translate(0,50.5)">
<line stroke="#000" x2="-6"></line>
<text fill="#000" x="-9" dy="0.32em">0.5</text>
</g>
0
1
2
3
4
5
6
7
8
9
10
0.0
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0
0
5
10
Metric
0
1
2
3
4
5
6
7
8
9
10