Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/d3/d3-scale-chromatic

Sequential, diverging and categorical color scales.
https://github.com/d3/d3-scale-chromatic

Last synced: about 2 months ago
JSON representation

Sequential, diverging and categorical color scales.

Awesome Lists containing this project

README

        

# d3-scale-chromatic

This module provides sequential, diverging and categorical color schemes designed to work with [d3-scale](https://github.com/d3/d3-scale)’s scaleOrdinal and scaleSequential. Most of these schemes are derived from Cynthia A. Brewer’s [ColorBrewer](http://colorbrewer2.org). Since ColorBrewer publishes only discrete color schemes, the sequential and diverging scales are interpolated using [uniform B-splines](https://observablehq.com/@d3/colorbrewer-splines).

## Resources

- [Documentation](https://d3js.org/d3-scale-chromatic)
- [Examples](https://observablehq.com/collection/@d3/d3-scale-chromatic)
- [Releases](https://github.com/d3/d3-scale-chromatic/releases)
- [Getting help](https://d3js.org/community)