CSV to Graph

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Greg2518
Forum Newbie
Posts: 2
Joined: Tue Apr 03, 2012 12:42 pm

CSV to Graph

Post by Greg2518 »

I have these CSV files containing data from all of our wireless controllers coming in on a regularly scheduled report. I was wondering what are some peoples opinions on the best way to convert these to graphs on a site that's mostly based on php. Should I try converting it using php, or would another language be more approachable for this?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: CSV to Graph

Post by Christopher »

If you want web based graphs then PHP should work well. However, if you want graphs that are images then a complied tool/library would work best. There are image creation libraries for PHP as well. For web graphs you might want to look into solutions like Google Graphs. For those you just convert your CSV data to JSON and pass it to the browser/javascript library which generates the graphs.
(#10850)
Greg2518
Forum Newbie
Posts: 2
Joined: Tue Apr 03, 2012 12:42 pm

Re: CSV to Graph

Post by Greg2518 »

Thanks for the feedback Chris.
Post Reply