Charts are an indispensable part of any data visualization work. People can grok visual representation of data easily than a textual variety. Today there are a huge number of free chart libraries available to display visualizations on websites. Below is a small list of some of the libraries available for displaying charts using php.
1. Visifire
output format: Silverlight
license: GPL 3.0 / Commercial
Visifire is a set of open source data visualization components – powered by Microsofts Silverlight technology. Visifire can be used in both WPF & Silverlight applications. Using the same API, charts in both Silverlight & WPF environments can be created within minutes. Visifire is independent of server side technology. It can be used with ASP, ASP.Net, PHP, JSP, ColdFusion, Ruby on Rails or just simple HTML. The website also includes a chart designer for you yo play with. The components also support excellent animations.
Features:
2. PHP/SWF Charts
output format: Flash
license:Free / Commercial
PHP/SWF Charts is a simple, yet powerful PHP tool to create attractive web charts and graphs from dynamic data.
Use PHP scripts to generate or gather the data from databases, then pass it to this tool to generate Flash (swf) charts and graphs. Any other scripting language (ASP, CFML, Perl, etc.) can be used with XML/SWF Charts (the XML version of the same tool.)
Some features:
3. pChart
output format: Image
license:GNU General Public License
pChart is a PHP class oriented framework designed to create visually appealing charts. Data can be retrieved from SQL queries, CSV files, or manually provided. This project is still under development and new features or fix are made every week.
4. Open Flash Chart
output format: Flash
license:LGPL
Open Flash Chart is a wonderful program for creating charts in Flash. The library supports bar, line, area, and pie charts. It also includes server side classes to help generate the data file used as input. At present there are classes for PHP, Perl, .NET, Java, Ruby (and Rails), and Python.
Implementation is quite easy. All you have to do is copy the Open Flash Chart SWF file to your web server, then start embedding flash charts into your HTML and point to static or dynamic data on your server.
5. amCharts
output format: Flash / Image
license:Free / Commercial
One of my favorites. AmCharts is a toolbox of Flash charts for your websites. AmCharts can automatically extract data from simple CSV or XML files, or they can read dynamic data generated with PHP, .NET, Java, Ruby on Rails, Perl, ColdFusion, and many other programming languages.
Key features:
Common amCharts features:
6. ezGraph component
output format: SVG / Image
license:BSD license
eZ components are an enterprise ready general purpose PHP components library by eZ systems. As a set of quality independent building blocks for PHP application development, eZ components help you speed up your php development.
The Graph component enables you to create line, pie and bar charts. The output driver mechanism allows you to create different image types from each chart, and the available renderers make the chart output customizable from simple two-dimensional charts to beautiful three-dimensional data projections.
This site is a digital habitat of Sameer Borate, a freelance web developer working in PHP, MySQL and WordPress. I also provide web scraping services, website design and development and integration of various Open Source API's. Contact me at metapix[at]gmail.com for any new project requirements and price quotes.
29 Responses
1
Anton
March 16th, 2009 at 4:11 am
Have you seen AnyChart? http://www.anychart.com
it works with PHP also
http://www.anychart.com/products/anychart/docs/platforms/php/
What do you think about it?
2
Jani Hartikainen
March 16th, 2009 at 4:48 am
Thanks for the list, I have a project coming which may require charting, so this comes in handy =)
sameer
March 16th, 2009 at 5:13 am
AnyChart does not provide a free version (Trial is available though), so it was not included.
4
Brent Wong
March 16th, 2009 at 10:58 am
Thanks. I will refer back to this list when I need charting tools.
5
Sameer Borate’s Blog: 6 excellent charting libraries for php : WebNetiques, LLC : Website Developers in Minneapolis, MN
March 16th, 2009 at 9:49 pm
[...] Borate has a new post today looking at six charting libraries he thinks are some of the most excellent offered [...]
6
Sameer Borate’s Blog: 6 excellent charting libraries for php : Dragonfly Networks
March 16th, 2009 at 9:52 pm
[...] Borate has a new post today looking at six charting libraries he thinks are some of the most excellent offered [...]
7
Dready92
March 17th, 2009 at 2:25 am
A charting library that is fun too, but client-side (javascript) : http://code.google.com/p/flot/
.
8
Brendon Kozlowski
March 17th, 2009 at 8:10 am
Out of curiosity, the bullet point that PHP/SWF Charts can support “printable charts” got me curious – where is this functionality, exactly? I was unable to find it on their site’s documentation. I prefer the fluidity of the Flash charts, but printing might be a requirement that would be necessary at a later time.
sameer
March 17th, 2009 at 8:56 am
Try this link:
http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=Printing
10
Robert H
March 17th, 2009 at 10:35 pm
Worth bookmarking. Tried all, would settle for Visifire. Not because it is mentioned first in the list. It’s very simple to use, even has advanced features that a chart seeker craves for.
11
steve
March 18th, 2009 at 7:55 am
There is a new, advanced free charting engine called Style Chart. Maybe you can take a look.
12
Christian Land
March 18th, 2009 at 9:15 am
Nice list but I won’t call most of them “charting libraries for PHP”. amCharts, Open Flash Charts, etc. are “just” Flash-Charting libraries that are useable with PHP. Otherwise you could add google Charts, Flot, etc., too as for most of them there are wrappers available for PHP.
But none the less thanks for compiling the list.
13
Stephen
March 18th, 2009 at 9:59 pm
Have you looked at libchart, http://naku.dohcrew.com/libchart , I found it easier than Google Charts, JChart, etc.
The API and setup are so easy and excellent. It generates charts as png images hence you can export and save them
14
Kris
March 19th, 2009 at 3:45 am
Hello,
Please add your site at http://www.sweebs.com. Sweebs.com is a place where other people can find you among the best sites on the internet!
Its just started and we are collecting the best found on the net! We will be delighted to have you in the sweebs listings.
Regards
Kris
15
Kim Steinhaug
March 22nd, 2009 at 6:11 am
Great list, however I am surprised you missed php Chart Director, http://www.advsofteng.com/. Ive tried many different ones however this one is really great. It works on your backend and creates images so that you do not require JS or Flash to see the charts (and also makes caching of images possible). It has a comprehensive list of charts aswell, look at their demopage for full list. Did I mention the multi charts, you may mix all charts into one super-chart!
16
網站製作學習誌 » [Web] 連結分享
March 27th, 2009 at 1:21 pm
[...] 6 excellent charting libraries for php [...]
17
Sameer Borate’s Blog: 6 excellent charting libraries for php | Shoultes.net
March 28th, 2009 at 7:46 pm
[...] Borate has a new post today looking at six charting libraries he thinks are some of the most excellent offered today. [...]
18
builder2 links for 2009/04/02 | builder2
April 1st, 2009 at 1:17 pm
[...] 6 excellent charting libraries for PHP [...]
19
Mouring
April 18th, 2009 at 8:45 am
You forgot http://www.fusioncharts.com/free/ which is a nice charting system as well. It is XML driven flash. And works well either standalone or via php or a bunch of other languages.
20
6 excellent charting libraries for php : CodeDiesel « DevEzine
April 19th, 2009 at 11:36 am
[...] Continue reading here: 6 excellent charting libraries for php : CodeDiesel [...]
21
6 excellent charting libraries for php | Lively Web Tuts
April 19th, 2009 at 11:31 pm
[...] Visit Article [...]
22
Travver
May 25th, 2009 at 8:46 am
What do you think about Flycharts from http://flycharts.net? It works with php too. It also has version which is free for non-commercial use.
sameer
May 25th, 2009 at 11:35 pm
Thanks for the update. Its a nice addition to the already listed packages.
24
benivolent
June 11th, 2009 at 2:41 am
This is very useful for php website development
25
Jonny
August 5th, 2009 at 12:59 pm
Thanks, this is really useful. Another one I’m surprised you haven;t mentioned is ChartLogix at http://www.phpcharting.com
I used this on a project recently and it worked great. The learning curve is almost nil. It does not have all the features and different types of charts but what it does it does really well.
26
nadim
August 6th, 2009 at 2:56 am
Hello Sameer,
How could you miss jpGraph ? It’s among the oldest…
http://www.aditus.nu/jpgraph/
mohammad nadim attari
27
jozef
November 5th, 2009 at 8:27 am
+1 to nadim. IMHO jpgraph is the oldest and most famous one.
28
Izmir
April 20th, 2010 at 4:33 am
Thanks! And one more GREAT API, which runs under different platforms and is free for private use here (http://www.flycharts.net/)
29
Ten Links
November 30th, 2011 at 11:31 am
Great post, but what is the best non-flash version?
TL