Python Forum

Full Version: plot multiple employee sales data in a single graph
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Folks

I am not able to proceed to plot multiple employee data in a single graph. Please suggest and I would be great-full.

I have the following data in a table:

MONTH_NAME EMP_NAME SALES
Jan a 100
Feb a 30
Mar a 80
Apr a 23
May a 58
June a 45
July a 76
Aug a 78
Sep a 34
Oct a 32
Nov a 5
Dec a 56

and similarly there are sales data for employee(a,b,c,d,e)

I am looking to plot the data in a single graph one line/bar each for employee.

I was able to do same in an excel creating the graph over a pivot table.

Regards
Pitanshu