d3.geoOrthographicRaw

d3.geoOrthographic() d3.geoOrthographicRaw The orthographic projection; see d3-geo.

zoom.translateExtent()

zoom.translateExtent([extent]) If extent is specified, sets the translate extent to the specified array of points [[x0, y0], [x1, y1]], where [x0, y0] is the top-left corner of the world and [x1, y1] is the bottom-right corner of the world, and returns this zoom behavior. If extent is not specified, returns the current translate extent, which defaults to [[-∞, -∞], [+∞, +∞]]. The translate extent restricts panning, and may cause translation on zoom out. It is enforced on interaction and when

d3.schemePiYG

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

d3.easeLinear()

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

d3.creator()

d3.creator(name) Given the specified element name, returns a function which creates an element of the given name, assuming that this is the parent element. This method is used internally by selection.append and selection.insert to create new elements. For example, this: selection.append("div"); Is equivalent to: selection.append(d3.creator("div")); See namespace for details on supported namespace prefixes, such as for SVG elements.

d3.utcMondays()

d3.timeMondays(start, stop[, step]) d3.utcMondays(start, stop[, step]) Aliases for timeMonday.range and utcMonday.range.

selection.datum()

selection.datum([value]) Gets or sets the bound data for each selected element. Unlike selection.data, this method does not compute a join and does not affect indexes or the enter and exit selections. If a value is specified, sets the element’s bound data to the specified value on all selected elements. If the value is a constant, all elements are given the same datum; otherwise, if the value is a function, then the function is evaluated for each selected element, in order, being passed the

stratify.id()

stratify.id([id]) If id is specified, sets the id accessor to the given function and returns this stratify operator. Otherwise, returns the current id accessor, which defaults to: function id(d) { return d.id; } The id accessor is invoked for each element in the input data passed to the stratify operator, being passed the current datum (d) and the current index (i). The returned string is then used to identify the node’s relationships in conjunction with the parent id. For leaf nodes, the

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.

tile.size()

tile.size([size]) If size is specified, sets this tile layout’s size to the specified two-element array of numbers [width, height] and returns this tile layout. If size is not specified, returns the current layout size. This is a convenience method equivalent to setting the extent to [[0, 0], [width, height]].