title: Is it possible to create a bar plot with data belonging to type "factor" in R programming?
body: <p><a href="https://i.stack.imgur.com/SntyY.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>The image consists of the data set which contains list of top 10 populated countries.so is it possible to create a barplot with country on x axis and Population on y axis where the data type i.e class of country values and population values is "factor".is it possible to plot this values on a bar plot.Can anyone help on the same.</p>