d3.schemeCategory10

d3.schemeCategory10 An array of ten categorical colors represented as RGB hexadecimal strings.

d3.schemeAccent

d3.schemeAccent An array of eight categorical colors represented as RGB hexadecimal strings.

d3.scan()

d3.scan(array[, comparator]) Performs a linear scan of the specified array, returning the index of the least element according to the specified comparator. If the given array contains no comparable elements (i.e., the comparator returns NaN when comparing each element to itself), returns undefined. If comparator is not specified, it defaults to ascending. For example: var array = [{foo: 42}, {foo: 91}]; d3.scan(array, function(a, b) { return a.foo - b.foo; }); // 0 d3.scan(array, function(a,

d3.scaleUtc()

d3.scaleUtc() Equivalent to time, but the returned time scale operates in Coordinated Universal Time rather than local time.

d3.scaleTime()

d3.scaleTime() Constructs a new time scale with the domain [2000-01-01, 2000-01-02], the unit range [0, 1], the default interpolator and clamping disabled.

d3.scaleThreshold()

d3.scaleThreshold() Constructs a new threshold scale with the default domain [0.5] and the default range [0, 1]. Thus, the default threshold scale is equivalent to the Math.round function for numbers; for example threshold(0.49) returns 0, and threshold(0.51) returns 1.

d3.scaleSqrt()

d3.scaleSqrt() Constructs a new continuous power scale with the unit domain [0, 1], the unit range [0, 1], the exponent 0.5, the default interpolator and clamping disabled. This is a convenience method equivalent to d3.scalePow().exponent(0.5).

d3.scaleSequential()

d3.scaleSequential(interpolator) Constructs a new sequential scale with the given interpolator function. When the scale is applied, the interpolator will be invoked with a value typically in the range [0, 1], where 0 represents the start of the domain, and 1 represents the end of the domain. For example, to implement the ill-advised HSL rainbow scale: var rainbow = d3.scaleSequential(function(t) { return d3.hsl(t * 360, 1, 0.5) + ""; }); A more aesthetically-pleasing and perceptually-effect

d3.scaleQuantize()

d3.scaleQuantize() Constructs a new quantize scale with the unit domain [0, 1] and the unit range [0, 1]. Thus, the default quantize scale is equivalent to the Math.round function.

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.