Link to home
Start Free TrialLog in
Avatar of enthuguy
enthuguyFlag for Australia

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
Avatar of leakim971
leakim971
Flag of Guadeloupe image

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.
Avatar of enthuguy

ASKER

Have requested them by raising SR to explaining my use case :)
Can you specify the meaning of each field of your CSV file?
sorry I didnt provide much detail.

I meant column values
e.g
USERNAME,TASK,STARTTIME,STATUS

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
Avatar of Pierre François
Pierre François
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?
Sorry, i realized that i deviated from original question.

Will close this question