import matplotlib.pyplot as pt s=['infosys','cognizant','tcs','zenith'] t=[240,230,300,230] pt.bar(s,t,color=['red','blue','green','yellow']) pt.title('Bar Graph') pt.xlabel('companies') pt.ylabel('number of students placed') pt.show()