monotone interpolation between points on d3 chart