d3.schemeOrRd

d3.interpolateOrRd(t) d3.schemeOrRd Given a number t in the range [0,1], returns the corresponding color from the “OrRd” sequential color scheme represented as an RGB string.

d3.entries()

d3.entries(object) Returns an array containing the property keys and values of the specified object (an associative array). Each entry is an object with a key and value attribute, such as {key: "foo", value: 42}. The order of the returned array is undefined. d3.entries({foo: 42, bar: true}); // [{key: "foo", value: 42}, {key: "bar", value: true}]

d3.tsvParseRows()

d3.tsvParseRows(string[, row]) Equivalent to dsvFormat("\t").parseRows.

quantize.copy()

quantize.copy() Returns an exact copy of this scale. Changes to this scale will not affect the returned scale, and vice versa.

ordinal.domain()

ordinal.domain([domain]) If domain is specified, sets the domain to the specified array of values. The first element in domain will be mapped to the first element in the range, the second domain value to the second range value, and so on. Domain values are stored internally in a map from stringified value to index; the resulting index is then used to retrieve a value from the range. Thus, an ordinal scale’s values must be coercible to a string, and the stringified version of the domain value

transition.nodes()

transition.nodes() Returns an array of all (non-null) elements in this transition. Equivalent to selection.nodes.

voronoi()

voronoi(data) Computes the Voronoi diagram for the specified data points.

zoom.interpolate()

zoom.interpolate([interpolate]) If interpolate is specified, sets the interpolation factory for zoom transitions to the specified function. If interpolate is not specified, returns the current interpolation factory, which defaults to d3.interpolateZoom to implement smooth zooming. To apply direct interpolation between two views, try d3.interpolate instead.

request.response()

request.response(value) Sets the response value function to the specified function and returns this request instance. The response value function is used to map the response XMLHttpRequest object to a useful data value. See the convenience methods json and text for examples.

area.curve()

area.curve([curve]) If curve is specified, sets the curve factory and returns this area generator. If curve is not specified, returns the current curve factory, which defaults to curveLinear.