Skip to content
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

Feature: scaleType: diverging #19

Open
clhenrick opened this issue Jan 22, 2022 · 1 comment
Open

Feature: scaleType: diverging #19

clhenrick opened this issue Jan 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@clhenrick
Copy link
Owner

Add support for diverging scales.

It might work like:

<color-legend
  scaleType="diverging"
  domain=[0, 0.5, 1]
  range=['red', 'yellow', 'blue']
/>
@clhenrick clhenrick added the enhancement New feature or request label Jan 22, 2022
@clhenrick
Copy link
Owner Author

Good discussion on diverging color scales, in particular whether or not it's okay to apply equal luminosity to values on either end of the range: https://twitter.com/inari_ta/status/1511271844564897796

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant