import pandas as pd import matplotlib.pyplot as plt top20_deathtoll = pd.read_csv('top20_deathtoll.csv') fig, ax = plt.subplots(figsize = 4.5,6))#mobile friendly proportion ax.barh(df['x'], df['y']) plt.show()