d3.randomIrwinHall()

d3.randomIrwinHall(n) Returns a function for generating random numbers with an Irwin–Hall distribution with n independent variables.

event.on()

event.on(typenames, [listener]) Equivalent to drag.on, but only applies to the current drag gesture. Before the drag gesture starts, a copy of the current drag event listeners is made. This copy is bound to the current drag gesture and modified by event.on. This is useful for temporary listeners that only receive events for the current drag gesture. For example, this start event listener registers temporary drag and end event listeners as closures: function started() { var circle = d3.sele

pie.startAngle()

pie.startAngle([angle]) If angle is specified, sets the overall start angle of the pie to the specified function or number and returns this pie generator. If angle is not specified, returns the current start angle accessor, which defaults to: function startAngle() { return 0; } The start angle here means the overall start angle of the pie, i.e., the start angle of the first arc. The start angle accessor is invoked once, being passed the same arguments and this context as the pie generator.

d3.quantize()

d3.quantize(interpolator, n) Returns n uniformly-spaced samples from the specified interpolator, where n is an integer greater than one. The first sample is always at t = 0, and the last sample is always at t = 1. This can be useful in generating a fixed number of samples from a given interpolator, such as to derive the range of a quantize scale from a continuous interpolator. Caution: this method will not work with interpolators that do not return defensive copies of their output, such as d3

d3.treemapSquarify()

d3.treemapSquarify(node, x0, y0, x1, y1) Implements the squarified treemap algorithm by Bruls et al., which seeks to produce rectangles of a given aspect ratio.

timer.stop()

timer.stop() Stops this timer, preventing subsequent callbacks. This method has no effect if the timer has already stopped.

center.y()

center.y([y]) If y is specified, sets the y-coordinate of the centering position to the specified number and returns this force. If y is not specified, returns the current y-coordinate, which defaults to zero.

nest.entries()

nest.entries(array) Applies the nest operator to the specified array, returning an array of key-values entries. Conceptually, this is similar to applying map.entries to the associative array returned by nest.map, but it applies to every level of the hierarchy rather than just the first (outermost) level. Each entry in the returned array corresponds to a distinct key value returned by the first key function. The entry value depends on the number of registered key functions: if there is an add

manyBody.strength()

manyBody.strength([strength]) If strength is specified, sets the strength accessor to the specified number or function, re-evaluates the strength accessor for each node, and returns this force. A positive value causes nodes to attract each other, similar to gravity, while a negative value causes nodes to repel each other, similar to electrostatic charge. If strength is not specified, returns the current strength accessor, which defaults to: function strength() { return -30; } The strength

d3.interpolateCubehelix()

d3.interpolateCubehelix(a, b) Or, with a gamma of 3.0 to emphasize high-intensity values: Returns a Cubehelix color space interpolator between the two colors a and b using a configurable gamma. If the gamma is not specified, it defaults to 1.0. The colors a and b need not be in Cubehelix; they will be converted to Cubehelix using d3.cubehelix. If either color’s hue or saturation is NaN, the opposing color’s channel value is used. The shortest path between hues is used. The return value of t