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

The division on colour map based on values is not linear- can it be made custom? #1164

Closed
JB-data opened this issue Jun 22, 2020 · 2 comments
Assignees

Comments

@JB-data
Copy link

JB-data commented Jun 22, 2020

I am impressed with kepler gl-very handy to get some nice results quick, but still had a question.
I created a h3 map with 10 colours based on values that range from 0-100k.
I notice that the division is not linear: it is not like this that for every 5k increase in value, a new colour is assigned. As a result all values from >3k to 100k are assigned the same colour, which result in a big part of my map having the same colour.
Is there a method to change this and decide yourself what slices of the dataset will receive the same colour? I would prefer to have many more colour distinctions for the higher values. Or a linear relation between colour/value.
Thanks for the good work!

@heshan0131
Copy link
Contributor

#399

Please follow the above issue

@heshan0131
Copy link
Contributor

The default color scale is quantile, you can change it to quantize, which is linear scale

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

No branches or pull requests

2 participants