Categories / colors
Customizing Colors in Plotly Pie Charts: A Flexible Approach
Colouring Plots by Factor Variables in R with ggplot2: A Comprehensive Guide
Assigning Meaningful Colors to Dendrograms in Heatmap.2 with R: A Step-by-Step Guide
Assigning Colors to Specific Values in a data.frame R: A Step-by-Step Guide to Resolving the Issue