d3.schemeRdGy

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

d3.schemeRdBu

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

d3.interpolateRainbow()

d3.interpolateRainbow(t) Given a number t in the range [0,1], returns the corresponding color from d3.interpolateWarm scale from [0.0, 0.5] followed by the d3.interpolateCool scale from [0.5, 1.0], thus implementing the cyclical less-angry rainbow color scheme.

d3.schemePurples

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

d3.schemePuRd

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

d3.schemePuOr

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

d3.schemePuBuGn

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

d3.schemePuBu

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

d3.schemePRGn

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

d3.interpolatePlasma()

d3.interpolatePlasma(t) Given a number t in the range [0,1], returns the corresponding color from the “plasma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, represented as an RGB string.