I have following set of data in CSV format
Name Place
A India
B USA
C India
D USA
E China
F UK
G Canada
H China
I UK
J UK
Following is the code I used,
output2.to_csv("Place.csv", index = False)
pd.options.display.mpl_style = 'default'
place_plot=output2.plot(kind="bar",x=output2["Place"],title="Count",legend=False)
fig = place_plot.get_figure()
Outout2 -> CSV file.
I need to plot a graph using Python so that it will show the count of people from different country, as shown in the picture
How do I do it?