cardinal.tension(tension)
Returns a cardinal curve with the specified tension in the range [0, 1]. The tension determines the length of the tangents: a tension of one yields all zero tangents, equivalent to curveLinear; a tension of zero produces a uniform Catmull–Rom spline. For example:
var line = d3.line().curve(d3.curveCardinal.tension(0.5));
Please login to continue.