enthuguy
asked on
Parse csv file and generate graphs in HTML in bash
Hi,
could you plz suggest a way to create html graph where the source of data is from a csv file.
Basically I have a csv file with multiple columns. Would specify the column for X and Y axis and generate a graph out of it on a linux environment.
What I'm thinking is to generate html file and email as an attachment (not sure if that is possible)
sample chart
https://www.amcharts.com/demos/gantt-chart/
I can use perl or python as well.
Thanks in advance
could you plz suggest a way to create html graph where the source of data is from a csv file.
Basically I have a csv file with multiple columns. Would specify the column for X and Y axis and generate a graph out of it on a linux environment.
What I'm thinking is to generate html file and email as an attachment (not sure if that is possible)
sample chart
https://www.amcharts.com/demos/gantt-chart/
I can use perl or python as well.
Thanks in advance
Following your demo, you just neex to get the CSV (same origin of the page), parse and format it to match with th format require by the plugin you choose.
ASKER
Have requested them by raising SR to explaining my use case :)
Can you specify the meaning of each field of your CSV file?
ASKER
sorry I didnt provide much detail.
I meant column values
e.g
USERNAME,TASK,STARTTIME,ST ATUS
Thinking if could generate chart
1. Pie chart to show tasks % by status
2. Gantt Chart to show task based start/finish time
even open source chart generator :)
I meant column values
e.g
USERNAME,TASK,STARTTIME,ST
Thinking if could generate chart
1. Pie chart to show tasks % by status
2. Gantt Chart to show task based start/finish time
even open source chart generator :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
any suggestions/advise on the opensource product pls
@enthuguy: what do you expect as advice on opensource products? You have a problem to solve. In the title of your post, you ask for a solution with bash. We provide you the lines of codes of bash to solve your problem. So, what do we miss for helping you?
ASKER
Sorry, i realized that i deviated from original question.
Will close this question
Will close this question