chord.padAngle()

D3 API Reference D3 4.0 is a collection of modules that are designed to work together; you can use the modules independently, or you can use them together as part of the default build. The source and documentation for each module is available in its repository. Follow the links below to learn more. For changes between 3.x and 4.0, see CHANGES; see also the 3.x reference. Arrays (Statistics, Search, Transformations, Histograms) Axes Brushes Chords Collections (Objects, Maps, Sets, Nests) Color

path.bezierCurveTo()

path.bezierCurveTo(cpx1, cpy1, cpx2, cpy2, x, y) Draws a cubic Bézier segment from the current point to the specified point ⟨x, y⟩, with the specified control points ⟨cpx1, cpy1⟩ and ⟨cpx2, cpy2⟩. Equivalent to context.bezierCurveTo and SVG’s cubic Bézier curve commands.

voronoi.size()

voronoi.size([size]) An alias for voronoi.extent where the minimum x and y of the extent are ⟨0,0⟩. Equivalent to: voronoi.extent([[0, 0], size]);

arc.outerRadius()

arc.outerRadius([radius]) If radius is specified, sets the outer radius to the specified function or number and returns this arc generator. If radius is not specified, returns the current outer radius accessor, which defaults to: function outerRadius(d) { return d.outerRadius; } Specifying the outer radius as a function is useful for constructing a coxcomb or polar bar chart, often in conjunction with a sqrt scale. More commonly, a constant outer radius is used for a pie or donut chart. If

d3.stackOffsetWiggle()

d3.stackOffsetWiggle(series, order) Shifts the baseline so as to minimize the weighted wiggle of layers. This offset is recommended for streamgraphs in conjunction with the inside-out order. See Stacked Graphs—Geometry & Aesthetics by Bryon & Wattenberg for more information.

d3.forceX()

d3.forceX([x]) Creates a new positioning force along the x-axis towards the given position x. If x is not specified, it defaults to 0.

simulation.alpha()

simulation.alpha([alpha]) If alpha is specified, sets the current alpha to the specified number in the range [0,1] and returns this simulation. If alpha is not specified, returns the current alpha value, which defaults to 1.

tsv2csv

tsv2csv [options…] [file] Equivalent to dsv2dsv, but the input delimiter defaults to the tab character (\t).

d3.scaleIdentity()

d3.scaleIdentity() Constructs a new identity scale with the unit domain [0, 1] and the unit range [0, 1].

d3.utcFormat()

d3.utcFormat(specifier) An alias for locale.utcFormat on the default locale.