-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
d3-scale-cmocean? #71
Comments
How about a generic d3-scale-colormap module? It could include cmocean and others could be added as appropriate (e.g. http://peterkovesi.com/projects/colourmaps/). I can get it started if that would be useful. |
I think it is best to have separate smaller modules than to try to put everything in one module. That makes it possible for them to be maintained independently and to have different implementations (e.g., hard-coded ramps vs. continuous interpolators). |
I’ve moved the color scales to d3-scale-chromatic. |
I agree with this issue, I would definitely love to see the cmocean colors integrated into d3. |
The discussion continues at d3/d3-scale-chromatic#27 |
http://matplotlib.org/cmocean/
At the very least it would be nice to have some approximations using d3.interpolateRgbBasis as I did for ColorBrewer in d3-scale-chromatic.
The text was updated successfully, but these errors were encountered: