Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chromabar

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromabar

A colorbar for d3 color scales

  • 0.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 04 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc