Type
ColorScaleOptions
A color scale: a preset, or stops (positions 0 to 1) with an optional diverging center and domain.
export type ColorScaleOptions = 'sequential' | 'diverging' | {
stops?: [
number,
string
][];
center?: number;
domain?: [
number,
number
];
quantile?: number;
};