![]() |
VOOZH | about |
The d3.curveCatmullRomClosed() interpolator produces a cubic CatMullRom spline. The curve is also based on these cubic CatMullRom splines. This is an open variant which combines the first and last point in the dataset with a curve.
Syntax:
d3.curveCatmullRomClosed()
Parameters: This method does not accept any parameters.
Return Value: This method does not return any value.
Example 1:
Output:
👁 ImageExample 2: