charts using php - php

i need to make charts (pie and bar) and working with php data.
the data is JSON encoded.
what are the best ways to generate charts. i am right now looking at Google Chart api. is there anything better (read: easier) than this?

pChart ( http://pchart.sourceforge.net/) is a also pretty popular choice.
I've used it in the past with satisfaction.
If I have to find a new charting library/API I'd probably go with the Google Chart API, though.

google charts is nice, these are also excellent:
amcharts (amcharts.com)
open flash charts is one (http://teethgrinder.co.uk/open-flash-chart/)
xml/swf charts (http://www.maani.us/xml_charts/)
amcharts and xml/swf charts both have free versions.

The PEAR Image_Graph package is a very powerful tool to create graphs.
Check out the samples here http://pear.veggerby.dk/samples/.

Google Fusion is kind of new and does graphical representation of data.
http://tables.googlelabs.com/Home
http://code.google.com/apis/fusiontables/
http://googlecode.blogspot.com/2009/12/google-fusion-tables-api.html

If you're using jQuery,
JQuery Google Charting makes using Google Charts API very easy.
Also, Flot is very nice tool for plotting x/y charts, it does not provides pie charts, and lacks the concept of categories/datasets, but otherwise the most impressive.

Related

Pentagon Chart in PHP

I want to implement a pentagonal shaped chart according to my historical data saved in database in PHP. In fact I want to use it in CakePHP.
Need yours help either by providing any chart api link or any library available online.
Thanks in advance.
These are called radar charts, not pentagonal charts.
You can use this Javascript library: http://www.amcharts.com/javascript/radar-chart/
Or use the pChart PHP library: http://pchart.sourceforge.net/documentation.php?topic=exemple8
You can do this easily (or advanced) with JPGraph. The library is free for non-commercial, open-source or educational use. An example on how to setup a radar graph with it can be found here.

Best open library for creating HTML 5/Javascript statistics page and charts

I am simply looking for the communities recommendation on an open library to help develop statistical charts, graphs, and maps for a website with HTML 5 / javascript. Something similar to what fusion charts does but without having to pay an arm and a leg and having access to the deep code.
Thank you everyone. :)
Flot and
Highcharts are both pretty decent. They both require JQuery.
Raphael is another great choice, supports all browsers including IE6.
jQuery + any number of plugins designed just for that.
The Filament group has been doing a lot of work on that:
http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/
Take a look at Dojo Charting
It's very nice library for charting.
Check out Google's Visualization API.

What are some good map charts?

I've googled tons of times but i really find flash map charts where you rollover and get a value. i already checked out anychart, anything better?
P.S. I don't want static image charts.
Thanks
To turn my comment into an answer:
If you want charts like Google Analytics, you can use the Google interactive charts API to create interactive maps. It's the same API. See: Google Goemap Visualization Examples
Take a look at AmMap http://www.ammap.com/ As far as I understand it is what you are looking for.
PHP/Swf is probably fit for your requirements
http://www.maani.us/charts/index.php
I recommend using a jquery plugin http://www.jqplot.com and avoid flash.
You can generate the input for the graphs using php.

Use High-charts, Open Flash Chart 2, Google Charts or what else !

One web application of ours requires a feature of displaying charts in it. Basically we have to show different types of charts for different purposes such as pie charts to give information about some purpose,Bar charts for some other purpose whereas Complex charts for complex data.Note that this charts will be created dynamically depending on the data in the MySQL database so we cannot use simple images.
I have been told to read the integrate this feature in our application.I Google and found High-charts,Open Flash Chart 2,Google Charts. What should I use as I don't have experience of integrating charts.
I'd recommend taking a look at ZingChart. (I'm on the ZingChart team and your question popped up on my Google Alert).
We allow rendering of charts in both HTML5 and Flash. Many of our customers have migrated from all different libraries and tell us they really enjoy using our framework.
Check us out at http://www.zingchart.com
Feel free to send any questions/feedback to us at support[at]zingchart.com.
Best,
Andrew
The easiest ti implement is:
Only PHP based: / rendered by GD as image: pChart
Flash Based: FusionCharts: Both commercial and free versions are there with almost every kind of chart.

bar chart in php,jquery

i want to make bar chart,but i want to write dynamic text on bar itself.
This isn't specifically jQuery, but I found this graphics toolkit rather simple to use, as you can learn by example, and they have many examples to peruse.
I recommend Protovis for creating charts with JavaScript. See their home page at: http://vis.stanford.edu/protovis/
Google Provides Awesome Bar Chart Library. We followed Bar Chart tutorial in this tutorial we can get dynamic data from mysql and Plot dynamic Bar chart
jQchart
tufteGraph
drillDown
google Charts
I recently developed a small graphing library for fetching database data, process it with PHP and create Google Analytics style interactive graphs from it (uses flot to render the graphs on the client side).
It's basically a complete server/client solution to turning your database tables into graphs, and should be easy to integrate with Kohana (I've used it a lot with the Zend Framework).

Categories