block by mbostock 11413789

Cubehelix

Full Screen

The d3.interpolateCubehelix plugin implements Dave Green’s cubehelix color scheme. The color ramp above is the default configuration of cubehelix, but the scheme is highly configurable; see the other examples.

index.html

cubehelix.js