Graph colors by variable
The colorvar() option allows many twoway plots to vary the color of markers, bars, and more based on the values of a variable.
![](https://r-graphics.org/R-Graphics-Cookbook-2e_files/figure-html/FIG-COLORS-PALETTE-CONTINUOUS-2.png)
12.6 Using a Manually Defined Palette for a Continuous Variable
![](https://cdn.extendoffice.com/images/stories/doc-excel/color-chart-based-value/doc-change-chart-color-by-value-7.png)
Change chart color based on value in Excel
Fahad Mirza (فہد مرزا) on LinkedIn: #stata
![](https://www.graphpad.com/guides/prism/latest/user-guide/images/hmfile_hash_d4be0d80.png)
GraphPad Prism 10 User Guide - Fill Color
![](https://r-graphics.org/R-Graphics-Cookbook-2e_files/figure-html/FIG-SCATTER-CONTINUOUS-COLOR-SIZE-1.png)
5.4 Mapping a Continuous Variable to Color or Size
![](http://www.columbiacp.com/cfolder/columbiacp/Library/Tree/statistics/stata_15/StataMP_perf.png)
Stata 18 - Columbia CP
![](https://cdn-b.saashub.com/images/app/screenshots/12/5dd9fc662e62/landing-original.jpg?1695826463)
Stata VS EViews - compare differences & reviews?
![](https://wac-cdn.atlassian.com/dam/jcr:aca531ca-5a0e-4eed-8ca1-a1768c1bcee2/data-color-picker.png?cdnVersion=1505)
Data Viz Color Selection Guide
![](https://i.stack.imgur.com/HW43K.png)
python - plot different color for different categorical levels
![](https://www.ssc.wisc.edu/soc/racepoliticsjustice/wp-content/uploads/2017/06/offense_lines_2017-6-1set5.png)
Stata code for designing custom graph colors – Race, Politics, Justice
![](https://cdn.extendoffice.com/images/stories/doc-excel/color-chart-based-value/doc-change-chart-color-by-value-11.png)
Change chart color based on value in Excel
Fisnik Shala - Sales And Marketing Specialist - Theranda
Color Coded Bar Charts with Microsoft Excel - Clearly and Simply
![](http://www.sthda.com/english/sthda-upload/figures/r-graphics-essentials/007-plot-two-continuous-variables-r-graphics-cookbook-and-examples-for-great-data-visualization-color-by-continuous-variable-1.png)
Plot Two Continuous Variables: Scatter Graph and Alternatives
Umar Nazir on LinkedIn: #takeastepforward #takeastepforward