[R] Barplot for data frame

Livio Beqiri ||v|ob @end|ng |rom ||ve@com
Wed Nov 29 01:29:49 CET 2023


I have a dataframe df <-

df <- data.frame (Revenue = c("100", "300", "500"),
                  Brand = c("Apple", "HP", "Lenovo")
                  )


how can i create a vertical barplot that displays brands in x-axis and Revenue in Y-axis



	[[alternative HTML version deleted]]



More information about the R-help mailing list