Trying to change color of bar graph using scale_color_manual() but
Hello, I'm trying to change the columns of my bar graph to red, blue and grey. However, I can't seem to get the colors to change on the output Attached is a photo of the graph Also the code and first 100 rows of my data set. # open file for Australia # I cleaned this file by hand dat1 <- read_excel("Australia_BOP.xlsx") # dput(dat1) # dput(head(dat1, 100)) # create the percentage of gdp columns dat1$pct_current_account <- dat1$current_account / dat1$nominal_gdp dat1$pct_balance_on_goods
![](https://jhudatascience.org/tidyversecourse/images/gslides/217.png)
Chapter 4 Visualizing Data in the Tidyverse
![](https://www.wvview.org/os_sa/07_ggplot_Part_II_files/figure-html/i-1.png)
Graphs with ggplot2: Part II
![](http://www.sthda.com/sthda/RDoc/figure/ggplot2/ggplot2-barplot-group-line-manual-color-data-visualization-2.png)
ggplot2 barplots : Quick start guide - R software and data visualization - Easy Guides - Wiki - STHDA
![](https://socviz.co/dataviz-pdfl_files/figure-html4/ch-08-flippers-1.png)
Data Visualization
![](https://discourse.metabase.com/uploads/default/original/2X/b/b9c3a1bd84df724fed89cfa497f3ef8fca2b42ab.png)
Colour changing in bar chart - Get Help - Metabase Discussion
![](https://jhudatascience.org/tidyversecourse/images/gslides/211.png)
Chapter 4 Visualizing Data in the Tidyverse
Solved: Changing color of bar graph - JMP User Community
![](https://stulp.gmw.rug.nl/ggplotworkshop/bookdown-demo_files/figure-html/unnamed-chunk-209-1.png)
R visualization workshop
![](https://journeytodatascientistdotblog.files.wordpress.com/2020/05/scatterplotfreedomvshappiness5.png?w=1200)
Data Point Shapes and Colors with ggplot2 – Journey to Data Scientist
![](https://appsilon.com/static/e1598e6cf83efd5b65e7c95c3c709e7c/3_2.png)
How to Make Stunning Boxplots in R: A Complete Guide to ggplot Boxplot - R programming
![](https://community.rstudio.com/uploads/default/original/3X/4/8/48e7c58573ee68fe001241a19312d4c781a95387.png)
Trying to change color of bar graph using scale_color_manual() but it's not working - General - Posit Community