I am trying to plot a simple bar plot for a keyword vs frequency list.
As the data does not have header I am unable to use Pandas or Seabron.
Input
#kyuhyun,1
#therinewyear,4
#lingaa,2
#starts,1
#inox,1
#arrsmultiplex,1
#bollywood,1
#kenya,1
#time,1
#watch,1
#malaysia,3
Code:
from matplotlib import pyplot as plt
from matplotlib import*
import numpy as np
x,y = np.genfromtxt('theri_split_keyword.csv', delimiter = ',', unpack=True, comments=None, usecols=(0,1))
plt.bar(x,y)
plt.title('Info')
plt.ylabel('Y axis')
plt.xlabel('X axis')
plt.show()
all I am trying to plot is a bar graph with x axis as the keywords and y axis for the frequency. Any easy method to plot this will be huge help.
The Output I am getting is below, which is definitely NOT what I am looking for.

The solution below seems to be working like a charm but I have too many keywords in a list and I am looking for a choice like if I can plot only top 10-20 keywords with respective keywords so that the bar plots will look much nicer.
Output of the solution given in answers.
