I have data frame (df
), with column: asdfg
(character) and NUMERIC
(numeric).
Using
ggplot(df, aes(x = asdfg, y = NUMERIC)) + geom_bar(stat = "identity", fill= "red")
I made something like that:
Now I want to get bar chart like:
I've no idea how to do that. I've tried using scale_colour_gradient2
but it doesn't work (probably I did it wrong).
Like this?