code: function getThreshold(threshold) {
  			if (min > threshold) {
  				threshold = min;
  			} else if (max < threshold) {
  				threshold = max;
  			}
  
  			return translate(threshold, 0, 1);
  		}
docs: Get the zero plane either based on zero or on the min or max value.
  Used in bar and area plots