Creates a qualitative color scale.
This function generates a set of distinct colors that are easily distinguishable from each other, which is useful for representing categorical data.
The number of distinct colors to generate.
An array of distinct Color objects.
const categoricalColors = createQualitativeScale(5);// Returns an array of 5 distinct Color objects Copy
const categoricalColors = createQualitativeScale(5);// Returns an array of 5 distinct Color objects
Creates a qualitative color scale.
This function generates a set of distinct colors that are easily distinguishable from each other, which is useful for representing categorical data.