Module 5 - 2
Module 5 - 2
data=pandas.read_csv('F:/Usman/BigMartSalesData.csv')
map.plot(data.Month,data.Amount)
map.xlabel('Month')
map.ylabel('Amount')
map.grid(True)
map.title('Total Sales Per Month for Year 2011')
map.show()
3. Plot Pie Chart for Year 2011 Country Wise. Which Country contributes highest
towards sales?
data=pandas.read_csv('F:/Usman/BigMartSalesData.csv')
map.pie(data.Amount,labels=data.Country)
map.figure(figsize=(4,4))
map.grid(True)
map.title('Total Sales Per Month for Year 2011')
map.show()
4. Plot Scatter Plot for the invoice amounts and see the concentration of amount.
In which range most of the invoice amounts are concentrated
data=pandas.read_csv('F:/Usman/BigMartSalesData.csv')
map.scatter(data.Amount,data.InvoiceNo)
map.grid(True)
map.show()