d3.easeLinear()

d3.easeLinear(t) Linear easing; the identity function; linear(t) returns t.

projection.fitExtent()

projection.fitExtent(extent, object) Sets the projection’s scale and translate to fit the specified GeoJSON object in the center of the given extent. The extent is specified as an array [[x₀, y₀], [x₁, y₁]], where x₀ is the left side of the bounding box, y₀ is the top, x₁ is the right and y₁ is the bottom. Returns the projection. For example, to scale and translate the New Jersey State Plane projection to fit a GeoJSON object nj in the center of a 960×500 bounding box with 20 pixels of paddi

transition.attrTween()

transition.attrTween(name[, factory]) If factory is specified and not null, assigns the attribute tween for the attribute with the specified name to the specified interpolator factory. An interpolator factory is a function that returns an interpolator; when the transition starts, the factory is evaluated for each selected element, in order, being passed the current datum d and index i, with the this context as the current DOM element. The returned interpolator will then be invoked for each f

transition.tween()

transition.tween(name[, value]) For each selected element, assigns the tween with the specified name with the specified value function. The value must be specified as a function that returns a function. When the transition starts, the value function is evaluated for each selected element, in order, being passed the current datum d and index i, with the this context as the current DOM element. The returned function is then invoked for each frame of the transition, in order, being passed the e

d3.geoGuyouRaw

d3.geoGuyou() d3.geoGuyouRaw The Guyou hemisphere-in-a-square projection. Peirce is credited with its quincuncial form.

point.round()

point.round([round]) If round is specified, enables or disables rounding accordingly. If rounding is enabled, the position of each point will be integers. Rounding is sometimes useful for avoiding antialiasing artifacts, though also consider the shape-rendering “crispEdges” styles. Note that if the width of the domain is not a multiple of the cardinality of the range, there may be leftover unused space, even without padding! Use point.align to specify how the leftover space is distributed.

transform.translate()

transform.translate(x, y) Returns a transform whose translation tx1 and ty1 is equal to tx0 + x and ty0 + y, where tx0 and ty0 is this transform’s translation.

axis.ticks()

axis.ticks(arguments…) axis.ticks([count[, specifier]]) axis.ticks([interval[, specifier]]) Sets the arguments that will be passed to scale.ticks and scale.tickFormat when the axis is rendered, and returns the axis generator. The meaning of the arguments depends on the axis’ scale type: most commonly, the arguments are a suggested count for the number of ticks (or a time interval for time scales), and an optional format specifier to customize how the tick values are formatted. For example, to

axis.tickFormat()

axis.tickFormat([format]) If format is specified, sets the tick format function and returns the axis. If format is not specified, returns the current format function, which defaults to null. A null format indicates that the scale’s default formatter should be used, which is generated by calling scale.tickFormat. In this case, the arguments specified by axis.tickArguments are likewise passed to scale.tickFormat. See d3-format and d3-time-format for help creating formatters. For example, to di

point.rangeRound()

point.rangeRound([range]) Sets the scale’s range to the specified two-element array of numbers while also enabling rounding. This is a convenience method equivalent to: point .range(range) .round(true); Rounding is sometimes useful for avoiding antialiasing artifacts, though also consider the shape-rendering “crispEdges” styles.