!date
import numpy as np, pandas as pd
%matplotlib inline
import matplotlib.pyplot as plt, seaborn
df = pd.read_csv('http://ghdx.healthmetricsandevaluation.org/sites/default/files/record-attached-files/IHME_IRAQ_MORTALITY_STUDY_2001_2011_HH_DEATHS.CSV')
df.head()
s = df.death_cert.value_counts() / float(len(df.index))
s *= 100
s.order().plot(kind='barh', fontsize=24)
plt.xticks(fontsize=18)
plt.xlabel('Percent of Deaths in HH Survey', fontsize=24)
plt.axis(xmax=100);