Given a data frame df1 as shown below :
Write code to create a bar chart plotting the three columns of dataframe df1.
import matplotlib.pyplot as plt data = {'1990': [52, 64, 78, 94], '2000': [340, 480, 688, 766], '2010': [890, 560, 1102, 889]} df1 = pd.DataFrame(data, index=['a', 'b', 'c', 'd']) df1.plot(kind = 'bar') plt.show()