text_plain_output_1.png image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

ufo = pd.read_csv('../input/scrubbed.csv')

countryFreq = ufo['country'].value_counts()
labels = list(countryFreq.index)
positionsForBars = list(range(len(labels)))
plt.bar(positionsForBars, countryFreq.values)
plt.xticks(positionsForBars, labels)
plt.title('countries found ufo')