This module provides sequential, diverging and categorical color schemes designed to work with d3-scale’s d3.scaleOrdinal and d3.scaleSequential. Most of these schemes are derived from Cynthia A. Brewer’s ColorBrewer. Since ColorBrewer publishes only discrete color schemes, the sequential and diverging scales are interpolated using uniform B-splines.
![](https://telmat.dev/wp-content/uploads/2023/07/16c3492b53e5ba08d865a0eaf7dedb1ada960233759936219e4e28c5c3b3414b.jpg)