locale.utcParse()

locale.utcParse(specifier) Equivalent to locale.parse, except all directives are interpreted as Coordinated Universal Time (UTC) rather than local time.

time.invert()

time.invert(value) See continuous.invert.

d3.hsl()

d3.hsl(h, s, l[, opacity]) d3.hsl(specifier) d3.hsl(color) Constructs a new HSL color. The channel values are exposed as h, s and l properties on the returned instance. Use the HSL color picker to explore this color space. If h, s and l are specified, these represent the channel values of the returned color; an opacity may also be specified. If a CSS Color Module Level 3 specifier string is specified, it is parsed and then converted to the HSL color space. See color for examples. If a color

sequential.domain()

sequential.domain([domain]) See continuous.domain. Note that a sequential scale’s domain must be numeric and must contain exactly two values.

transform.rescaleX()

transform.rescaleX(x) Returns a copy of the continuous scale x whose domain is transformed. This is implemented by first applying the inverse x-transform on the scale’s range, and then applying the inverse scale to compute the corresponding domain: function rescaleX(x) { var range = x.range().map(transform.invertX, transform), domain = range.map(x.invert, x); return x.copy().domain(domain); } The scale x must use d3.interpolateNumber; do not use continuous.rangeRound as this reduce

d3.utcHours()

d3.timeHours(start, stop[, step]) d3.utcHours(start, stop[, step]) Aliases for timeHour.range and utcHour.range.

continuous.invert()

continuous.invert(value) Given a value from the range, returns the corresponding value from the domain. Inversion is useful for interaction, say to determine the data value corresponding to the position of the mouse. For example, to invert a position encoding: var x = d3.scaleLinear() .domain([10, 130]) .range([0, 960]); x.invert(80); // 20 x.invert(320); // 50 If the given value is outside the range, and clamping is not enabled, the mapping may be extrapolated such that the returne

timer.stop()

timer.stop() Stops this timer, preventing subsequent callbacks. This method has no effect if the timer has already stopped.

path.projection()

path.projection([projection]) If a projection is specified, sets the current projection to the specified projection. If projection is not specified, returns the current projection, which defaults to null. The null projection represents the identity transformation: the input geometry is not projected and is instead rendered directly in raw coordinates. This can be useful for fast rendering of pre-projected geometry, or for fast rendering of the equirectangular projection. The given projection

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