How do you choose colors for categorical data?
Use warm colors & blue
That's because these warm colors and blue are super versatile for categories. Yellow and orange and red look very pleasing together, but people will still perceive them as different: ⬤⬤⬤ — which is exactly what we want for categorical colors. And blue is more flexible than any other hue.
What colors represent data?
Most data should be in neutral colors like grey with bright colors reserved for directing attention to significant or atypical data points.