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

pie.endAngle()

pie.endAngle([angle]) If angle is specified, sets the overall end angle of the pie to the specified function or number and returns this pie generator. If angle is not specified, returns the current end angle accessor, which defaults to: function endAngle() { return 2 * Math.PI; } The end angle here means the overall end angle of the pie, i.e., the end angle of the last arc. The end angle accessor is invoked once, being passed the same arguments and this context as the pie generator. The un

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

d3.radialLine()

d3.radialLine() Constructs a new radial line generator with the default settings. A radial line generator is equivalent to the standard Cartesian line generator, except the x and y accessors are replaced with angle and radius accessors. Radial lines are always positioned relative to ⟨0,0⟩; use a transform (see: SVG, Canvas) to change the origin.

line.defined()

line.defined([defined]) If defined is specified, sets the defined accessor to the specified function or boolean and returns this line generator. If defined is not specified, returns the current defined accessor, which defaults to: function defined() { return true; } The default accessor thus assumes that the input data is always defined. When a line is generated, the defined accessor will be invoked for each element in the input data array, being passed the element d, the index i, and the

d3.scaleQuantile()

d3.scaleQuantile() Constructs a new quantile scale with an empty domain and an empty range. The quantile scale is invalid until both a domain and range are specified.

d3.interpolateNumber()

d3.interpolateNumber(a, b) Returns an interpolator between the two numbers a and b. The returned interpolator is equivalent to: function interpolator(t) { return a * (1 - t) + b * t; } Caution: avoid interpolating to or from the number zero when the interpolator is used to generate a string. When very small values are stringified, they may be converted to scientific notation, which is an invalid attribute or style property value in older browsers. For example, the number 0.0000001 is conver

healpix.lobes()

healpix.lobes([lobes]) If lobes is specified, sets the number of lobes (the parameter H in the literature) and returns this projection. If lobes is not specified, returns the current lobe number, which defaults to 4.

chord.sortGroups()

D3 API Reference D3 4.0 is a collection of modules that are designed to work together; you can use the modules independently, or you can use them together as part of the default build. The source and documentation for each module is available in its repository. Follow the links below to learn more. For changes between 3.x and 4.0, see CHANGES; see also the 3.x reference. Arrays (Statistics, Search, Transformations, Histograms) Axes Brushes Chords Collections (Objects, Maps, Sets, Nests) Color

symbol.type()

symbol.type([type]) If type is specified, sets the symbol type to the specified function or symbol type and returns this line generator. If type is not specified, returns the current symbol type accessor, which defaults to: function type() { return circle; } See symbols for the set of built-in symbol types. To implement a custom symbol type, pass an object that implements symbolType.draw.