![]() |
VOOZH | about |
The curveLinearClosed() interpolator creates multiple lines by choosing points that create straight lines between each pair of adjacent points in the dataset. This is a closed variant which adds a straight line between the first and last point in the dataset.
Syntax:
d3.curveLinearClosed()
Parameters: This method does not accept any parameters.
Return Value: This method does not return any value.
Example 1:
Output:
👁 ImageExample 2: