data <- read.csv("/Users/infinite/Desktop/covid_19_india.csv", header = TRUE)
table(data$State.UnionTerritory)
barplot(table(data$State.UnionTerritory), ylab = 'No. of confirmed cases', main= "Bar plot
of covid19 cases")
But I want to plot confirmed cases variable on x axis and State.UnionTerritory on y axis. I want to use two variables to plot. But the Method i tried using has just one variable with its frequency on y axis. Please help me.
Note : This file has two variable 1. State.UnionTerritory, 2. Confirmed
I want to plot them against each other using bar plot.