df.plot(x='type', y='success', kind='bar')
plt.xticks(rotation=25)

I found this by looking at the docstring :
In [11]: df.plot?
...
Parameters
----------
frame : DataFrame
x : label or position, default None
y : label or position, default None
Allows plotting of one column versus another
source
share