The colorvar() option allows many twoway plots to vary the color of markers, bars, and more based on the values of a variable.
ggplot2 - Custom colors for discrete values in geom_bar in ggplot
New in Stata 18
Stata Distributor für Deutschland, Niederlande, Österreich
Stata—数据统计分析软件、stata专业高级培训、中国用户大会
Stata - TStat
Chapter 6 Visual variables Elegant and informative maps with tmap
python - plot different color for different categorical levels
Detailed Guide to the Bar Chart in R with ggplot
Statistical software for data science