d3 / d3-shape

Graphical primitives for visualization, such as lines and areas.
https://d3js.org/d3-shape
ISC License
2.48k stars 308 forks source link

Choose 2nd order derivatives to vanish at monotone curve boundaries #40

Closed mbostock closed 8 years ago

mbostock commented 8 years ago

Monotone curve slopes at boundary points are now chosen so that the second-order derivatives vanish. This method is given in the paper "A Simple Method for Monotonic Interpolation in One Dimension", section 2.2.