As Chris said, trying to distinguish 33 colors doesn't work for people. You need to find another type of graph that is not dependent only on color.
Without a reproducible example, it is impossible to say what the plot should be, but here are some general color tips.
Use HCL colors, not RGB or HSV. Read Achim Zeileis RGBland Hiding for an explanation. There are several useful features for creating palettes in the colorspace
package.
If your variables are disordered categories (i.e., encoded as factors), then your colors should have different hues. (Use rainbow_hcl
.)
If your variables are in some order (ranges or ordered factors), then your colors should have different lightness or color. (Use sequential_hcl
.) The difference is that they differ from each other at some midpoint, in which case you need diverge_hcl
.
source share