Hi,
I have a table of data, example:
tibble::tribble(
~Item, ~'0', ~'1',
"123", '30', '40',
"213", '20', '50',
"321", '10', '60',
)
I am trying to make a bar plot with ggplot2, that shows each material on x axis and the value of column '1' on y axis
I tried this code:
ggplot(dt, aes(x = Material, y= '1', group = Material, color = Material))+
geom_bar(stat = "identity")
but this is the result: