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

import pandas as pd

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

df = pd.read_csv('../input/homicide-reports/database.csv')

plt.style.use('fivethirtyeight')
years = pd.DataFrame(df, columns=['Year'])
count_years = years.stack().value_counts()
homicides = count_years.sort_index(axis=0, ascending=False)
print(homicides.plot(kind='barh', fontsize=10, width=0.5, figsize=(12, 10), title='Отчеты об убийствах в США 1980-2014 '))