keplergl / keplergl/kepler.gl

Define a single color scale with min and max and use it to compare multiple datasets

Open
#1,403 1 comment 0 reactions 1 assignee Claimed by @heshan0131 View on GitHub
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

## Problem description - comparing two datasets with different ranges
I have two datasets of temperatures that I would like to compare. Some of the measurements are unrealistic outliers that are not interesting to the investigation. As it can be seen the histograms of the dataset are quite different and since the color scale is automatically derived from the min-max values it is not directly comparable. Furthermore, I was forced to add fake measurements of extreme values so I could use the histogram to restrict the values to the same domain and hence force the color scales to be comparable.
![image](https://user-images.githubusercontent.com/11709858/105860113-88af2680-5fed-11eb-8fd3-0078914bdd85.png)

## Solution
It would be really nice to define a color scale by pallette, min, max values, tics, etc, and then use the same color scale on each dataset.

Currently, I have been forced to include fake extreme values in the dataset, so they are both defined on the same range and then use the histogram to set the same range. It works (sort-of), but it quite time-consuming and would be much nicer with being able to define shared color scales manually.
![image](https://user-images.githubusercontent.com/11709858/105860890-623dbb00-5fee-11eb-8af4-36a69c6b04d9.png)

## Alternative solution
If a shared color scale is not possible then the ability to define the color scale on each dataset with min-max values, ticks and palette would be a good start.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.