var valueline = d3.svg.line()
.interpolate("monotone")
.x(function(d) { return x(d.t); })
.y(function(d) { return y(d.r); });
This causes the line to be little smoother.
is there a way to control the strength of the smoothing?
Other string values of interpolate functions (like: basis, cardinal...) give good smoothing, but also change the shape of the line.
What I need is somthing like "monotone" but stronger. Only make corners smooth and rounded.
documentation shows that I can use custom interpolation function, but mentions very little on how to make it.