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
Changing geom_text color for stacked bar graphs in ggplot(), by Lara Southard, PhD
Change Color of Bars in Barchart using ggplot2 in R - GeeksforGeeks
Trying to change color of bar graph using scale_color_manual() but it's not working - General - Posit Community
Colours and Shapes :: Environmental Computing
How to Assign Colors by Factor in ggplot2 (With Examples)
GGPlot Barplot Best Reference - Datanovia
ggplot2 barplots : Quick start guide - R software and data visualization - Easy Guides - Wiki - STHDA
Using ggplot2
Chapter 4 Visualizing Data in the Tidyverse
Ordering bars within their clumps in a bar chart