Overview of d3-scale-chromatic color schemes
The
d3-scale-chromatic module provides a collection of sequential, diverging, and categorical color schemes. These schemes are designed to be used in conjunction with d3-scale functions, specifically d3.scaleOrdinal for categorical data and d3.scaleSequential for continuous data. Most schemes are based on Cynthia A. Brewer's ColorBrewer; sequential and diverging scales are interpolated using uniform B-splines to provide smooth transitions between discrete ColorBrewer steps.