path.closePath()

path.closePath() Ends the current subpath and causes an automatic straight line to be drawn from the current point to the initial point of the current subpath. Equivalent to context.closePath and SVG’s “closepath” command.

zoom.duration()

zoom.duration([duration]) If duration is specified, sets the duration for zoom transitions on double-click and double-tap to the specified number of milliseconds and returns the zoom behavior. If duration is not specified, returns the current duration, which defaults to 250 milliseconds. If the duration is not greater than zero, double-click and -tap trigger instantaneous changes to the zoom transform rather than initiating smooth transitions. To disable double-click and double-tap transitio

d3.schemeCategory10

d3.schemeCategory10 An array of ten categorical colors represented as RGB hexadecimal strings.

treemap.round()

treemap.round([round]) If round is specified, enables or disables rounding according to the given boolean and returns this treemap layout. If round is not specified, returns the current rounding state, which defaults to false.

d3.geoPolyhedralWaterman()

d3.geoPolyhedralWaterman() Steve Waterman’s butterfly projection.

manyBody.distanceMax()

manyBody.distanceMax([distance]) If distance is specified, sets the maximum distance between nodes over which this force is considered. If distance is not specified, returns the current maximum distance, which defaults to infinity. Specifying a finite maximum distance improves performance and produces a more localized layout.

d3.scaleQuantize()

d3.scaleQuantize() Constructs a new quantize scale with the unit domain [0, 1] and the unit range [0, 1]. Thus, the default quantize scale is equivalent to the Math.round function.

d3.randomBates()

d3.randomBates(n) Returns a function for generating random numbers with a Bates distribution with n independent variables.

d3.curveCatmullRom()

d3.curveCatmullRom(context) Produces a cubic Catmull–Rom spline using the specified control points and the parameter alpha, which defaults to 0.5, as proposed by Yuksel et al. in On the Parameterization of Catmull–Rom Curves, with one-sided differences used for the first and last piece.

d3.interpolateRound()

d3.interpolateRound(a, b) Returns an interpolator between the two numbers a and b; the interpolator is similar to interpolateNumber, except it will round the resulting value to the nearest integer.