continuous.clamp()

continuous.clamp(clamp) If clamp is specified, enables or disables clamping accordingly. If clamping is disabled and the scale is passed a value outside the domain, the scale may return a value outside the range through extrapolation. If clamping is enabled, the return value of the scale is always within the scale’s range. Clamping similarly applies to continuous.invert. For example: var x = d3.scaleLinear() .domain([10, 130]) .range([0, 960]); x(-10); // -160, outside range x.inver

d3.min()

d3.min(array[, accessor]) Returns the minimum value in the given array using natural order. If the array is empty, returns undefined. An optional accessor function may be specified, which is equivalent to calling array.map(accessor) before computing the minimum value. Unlike the built-in Math.min, this method ignores undefined, null and NaN values; this is useful for ignoring missing data. In addition, elements are compared using natural order rather than numeric order. For example, the minim

d3.packSiblings()

d3.packSiblings(circles) Packs the specified array of circles, each of which must have a circle.r property specifying the circle’s radius. Assigns the following properties to each circle: circle.x - the x-coordinate of the circle’s center circle.y - the y-coordinate of the circle’s center The circles are positioned according to the front-chain packing algorithm by Wang et al.

d3.geoIdentity()

d3.geoIdentity() The identity transform can be used to scale, translate and clip planar geometry. It implements projection.scale, projection.translate, projection.fitExtent, projection.fitSize and projection.clipExtent.

d3.schemeAccent

d3.schemeAccent An array of eight categorical colors represented as RGB hexadecimal strings.

path.bounds()

path.bounds(object) Returns the projected planar bounding box (typically in pixels) for the specified GeoJSON object. The bounding box is represented by a two-dimensional array: [[x₀, y₀], [x₁, y₁]], where x₀ is the minimum x-coordinate, y₀ is the minimum y-coordinate, x₁ is maximum x-coordinate, and y₁ is the maximum y-coordinate. This is handy for, say, zooming in to a particular feature. (Note that in projected planar coordinates, the minimum latitude is typically the maximum y-value, and

sequential.clamp()

sequential.clamp([clamp]) See continuous.clamp.

d3.curveCardinalClosed()

d3.curveCardinalClosed(context) Produces a closed cubic cardinal spline using the specified control points. When a line segment ends, the first three control points are repeated, producing a closed loop. The default tension is 0.

drag.container()

drag.container([container]) If container is specified, sets the container accessor to the specified object or function and returns the drag behavior. If container is not specified, returns the current container accessor, which defaults to: function container() { return this.parentNode; } The container of a drag gesture determines the coordinate system of subsequent drag events, affecting event.x and event.y. The element returned by the container accessor is subsequently passed to d3.mouse

radialLine.radius()

radialLine.radius([radius]) Equivalent to line.y, except the accessor returns the radius: the distance from the origin ⟨0,0⟩.