0.7.0 • Published 3 years ago

chromabar v0.7.0

Weekly downloads
17
License
BSD-3-Clause
Repository
github
Last release
3 years ago

chromabar

Build Status codecov

A JavaScript library for rendering color bars. Based on d3-scales and SVG. Also includes components for a color map editor.

Installation

To use the package as a library, install it with:

npm install --save chromabar

For development, clone the repository and run:

npm install     # To install dependencies
npm run build   # To compile the typescript sources
npm test        # To run tests

Screenshots

Here are some examples of use, as output by the demo:

Linear red-blue

Linear, diverging orange-white-green

Sequential Viridis

Logarithmic red-blue

Power red-white-blue

Ordinal Category10

Transparent red-white-blue

Transparent ordinal triplet

API

TODO

0.7.0

3 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago