Open muazamkamal opened 2 years ago
Creating a logarithmic scale seems to be giving the same scale as default. I created the log color scale by following the example from the README.
chroma.scale(['lightyellow', 'navy']).domain([1, 100000], 7, 'log');
Viewing the colors it generates seems to be no difference to normal scale. Refer to this codepen.
Attempting to pass a wide-range value for the scale to map also shows no difference to normal scale. Refer to this stackblitz.
How is the log option supposed to be used and what exactly does it do?
Creating a logarithmic scale seems to be giving the same scale as default. I created the log color scale by following the example from the README.
Viewing the colors it generates seems to be no difference to normal scale. Refer to this codepen.
Attempting to pass a wide-range value for the scale to map also shows no difference to normal scale. Refer to this stackblitz.
How is the log option supposed to be used and what exactly does it do?