Creates a perceptually uniform sequential color scale.
This function generates a color scale where the perceived difference between each step is uniform.
It's crucial for accurate representation of data in visualizations.
An array of Color objects representing the perceptually uniform sequential scale.
Example
constuniformScale = createPerceptuallyUniformScale( newColor('#ffffcc'), // Light yellow newColor('#800026'), // Dark red 7 ); // Returns an array of 7 Color objects with perceptually uniform steps between light yellow and dark red
Creates a perceptually uniform sequential color scale.
This function generates a color scale where the perceived difference between each step is uniform. It's crucial for accurate representation of data in visualizations.