d3.descending()

d3.descending(a, b) Returns -1 if a is greater than b, or 1 if a is less than b, or 0. This is the comparator function for reverse natural order, and can be used in conjunction with the built-in array sort method to arrange elements in descending order. It is implemented as: function descending(a, b) { return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN; } Note that if no comparator function is specified to the built-in sort method, the default order is lexicographic (alphabetical), n

d3.curveLinearClosed()

d3.curveLinearClosed(context) Produces a closed polyline through the specified points by repeating the first point when the line segment ends.

arc.padRadius()

arc.padRadius([radius]) If radius is specified, sets the pad radius to the specified function or number and returns this arc generator. If radius is not specified, returns the current pad radius accessor, which defaults to null, indicating that the pad radius should be automatically computed as sqrt(innerRadius * innerRadius + outerRadius * outerRadius). The pad radius determines the fixed linear distance separating adjacent arcs, defined as padRadius * padAngle.

radialArea.lineOuterRadius()

radialArea.lineOuterRadius() Returns a new radial line generator that has this radial area generator’s current defined accessor, curve and context. The line’s angle accessor is this area’s start angle accessor, and the line’s radius accessor is this area’s outer radius accessor.

d3.geoModifiedStereographicGs50()

d3.geoModifiedStereographicGs50() A modified stereographic projection for the United States including Alaska and Hawaii. Typically clipped to the geographic extent [[-180°, 15°], [-50°, 75°]].

d3.partition()

d3.partition() Creates a new partition layout with the default settings.

ordinal.range()

ordinal.range([range]) If range is specified, sets the range of the ordinal scale to the specified array of values. The first element in the domain will be mapped to the first element in range, the second domain value to the second range value, and so on. If there are fewer elements in the range than in the domain, the scale will reuse values from the start of the range. If range is not specified, this method returns the current range.

quadtree.size()

quadtree.size() Returns the total number of data in the quadtree.

d3.geoQuantize()

d3.geoQuantize(object, digits) Quantizes the specified GeoJSON object, modifying it in-place, rounding x and y coordinates according to number.toFixed. Typically this is done after projecting. See also geoproject --precision and geo2svg --precision.

d3.schemeRdYlGn

d3.interpolateRdYlGn(t) d3.schemeRdYlGn Given a number t in the range [0,1], returns the corresponding color from the “RdYlGn” diverging color scheme represented as an RGB string.