score:26

Accepted answer

You can simply query the scale for its domain after .nice() and then get the minimum value of that:

var yMin = yScale.domain()[0];

Related Query

More Query from same tag