I used the following code:
var c = d3.line()
.interpolate("monotone")
.x(function(d) { return x(d.date); })
.y(function(d) { return y(d.close); });
And now, when I upgrade all my visual studies to version D3 4, I can’t decide how to update the interpolation described above.
I want to smooth the line.
source
share