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.

axis.tickPadding()

axis.tickPadding([padding]) If padding is specified, sets the padding to the specified value in pixels and returns the axis. If padding is not specified, returns the current padding which defaults to 3 pixels.

d3.selection()

d3.selection() Selects the root element, document.documentElement. This function can also be used to test for selections (instanceof d3.selection) or to extend the selection prototype. For example, to add a method to check checkboxes: d3.selection.prototype.checked = function(value) { return arguments.length < 1 ? this.property("checked") : this.property("checked", !!value); }; And then to use: d3.selectAll("input[type=checkbox]").checked(true);

d3.schemeBuPu

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

d3.geoStereographicRaw

d3.geoStereographic() d3.geoStereographicRaw The stereographic projection; see d3-geo.

continuous.nice()

continuous.nice([count]) Extends the domain so that it starts and ends on nice round values. This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. An optional tick count argument allows greater control over the step size used to extend the bounds, guaranteeing that the returned ticks will exactly cover the domain. Nicing is useful if the domain is computed from data, say using extent, and may be irregular. For example, for a domain of [

point.range()

point.range([range]) If range is specified, sets the scale’s range to the specified two-element array of numbers. If the elements in the given array are not numbers, they will be coerced to numbers. If range is not specified, returns the scale’s current range, which defaults to [0, 1].

d3.ticks()

d3.ticks(start, stop, count) Returns an array of approximately count + 1 uniformly-spaced, nicely-rounded values between start and stop (inclusive). Each value is a power of ten multiplied by 1, 2 or 5. See also tickStep and linear.ticks. Note that due to the limited precision of IEEE 754 floating point, the returned values may not be exact decimals; use d3-format to format numbers for human consumption. Ticks are inclusive in the sense that they may include the specified start and stop value

tile.wrap()

tile.wrap([wrap]) If wrap is specified, sets this tile layout’s wrapping option to the specified boolean value and returns this tile layout. If wrap is not specified, returns the current wrapping option, which defaults to true. wrap(true) If wrap is true, wrapping logic will be applied to tile address x values when the layout is evaluated. This will cause map tiles to be displayed in a periodic manner, going beyond longitude values between -180 and 180. wrap(false) If wrap is false, wrapping

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]].