d3-scale-chromatic : Sequential, diverging and categorical color schemes from ColorBrewer.. You can installing d3-scale-chromatic npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install d3-scale-chromatic $ sudo npm install -g d3-scale-chromatic
If want to update the d3-scale-chromatic package execute the command as below,
$ sudo npm update d3-scale-chromatic
Update package globally,
$ npm install -g d3-scale-chromatic
$ sudo git clone https://github.com/rektide/d3-scale-chromatic.git
$ sudo npm install -g ./d3-scale-chromatic
d3-scale-chromatic@1.1.1 /usr/lib/node_modules/d3-scale-chromatic
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall d3-scale-chromatic
Package Name | d3-scale-chromatic |
Version | 1.1.1 |
Description | Sequential, diverging and categorical color schemes from ColorBrewer. |
Released Date | 2017-02-15T22:25:47.246Z |
Published by | mbostock |
How to Learn | https://www.npmjs.com/package/d3-scale-chromatic/tutorial |