VOOZH about

URL: https://www.geeksforgeeks.org/javascript/d3-js-curvelinear-method/

⇱ D3.js curveLinear() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

D3.js curveLinear() Method

Last Updated : 26 Aug, 2020

The curve linear interpolater creates multiple lines by choosing points that create straight lines between each pair of adjacent points in the dataset. The d3.curveLinear interpolator is the default interpolator used when the line.curve() method is not called.

Syntax:

d3.curveLinear()

Parameters: This method does not accept any parameters

Return Value: This method does not return any value.

Example 1:

Output:

👁 Image

Example 2:

Output:

👁 Image
Comment
Article Tags:
Article Tags: