6 jQuery Chart Plugins For Your App

Just Posted: Apple Likely to Give Education Rather than Resolution for iPhone 4 Antenna Issues

As javascript frameworks like jQuery and Mootools get more and more powerful, and browsers start to support the latest CSS capabilities, chart creation is becoming more and more of a reality outside the realm of using flash. In this article I’ll discuss 6 jQuery charting plugins, their key capabilities and limitations.

Update – I have since posted 5 Javascript alternatives for charts implementations.

1) Flot

flot

Limitations: lines, points, filled areas, bars and combinations of these

From an interaction perspective, Flot by far will get you as close as possible to Flash graphing as you can get with jQuery. Whilst the graph output is pretty slick, and great looking, you can also interact with data points. What I mean by this is you can have the ability to hover over a data point and get visual feedback on the value of that point in the graph.

Flot Zoom capability

On top of this, you also have the ability to select a chunk of the graph to get data back for a particular “zone”. As a secondary feature to this “zoning”, you can also select an area on a graph and zoom in to see the data points a little more closely. Very cool.

2) Sparklines

sparklinesLimitations: Pie, Line, Bar, Combination

Sparklines is my favourite mini graphing tool out there. Really great for dashboard style graphs (think Google Analytics dashboard next time you login). Because they’re so tiny, they can be included in line (as in the example above). Another nice idea which can be used in all graphing plugins is the self-refresh capabilities. Their Mouse-Speed demo shows you the power of live charting at its best.

3) Google Charts Plugin

googlecharts

Limitations: Bar, Stacked, Line, Pie, Pie 3D

The Google Charts plugin is a really easy way to implement the Google Charts API into your web application using a jQuery plugin. Whilst the API itself is pretty simple to use (the format to generate graphs is to form a complex url with multiple query string parameters), the plugin goes one step further and actually forms that complex url for you, by allowing you to set the parameters you want with simple jQuery calls:

.attr('src', api.make({data : [[153, 60, 52], [113, 70, 60], [120, 80, 40]]}))

4) jQuery Chart 0.21

jquerychart-01

Limitations: Area, Line, Bar and combinations of these

jQuery Chart 0.21 isn’t the nicest looking charting plugin out there it has to be said. It’s pretty basic in functionality when it comes to the charts it can handle, however it can be flexible if you can put in some time and effort into it.

5) jQchart

jqchart

Limitations: Bar, Line

jQchart is an odd one, they’ve built in animation transistions and drag/drop functionality into the chart, however it’s a little clunky – and seemingly pointless. It does generate nice looking charts if you get the CSS setup right, but there are better out there.

6) TufteGraph

tufte

Limitations: Bar and Stacked Bar

Tuftegraph sells itself as “pretty bar graphs that you would show your mother”. It comes close, Flot is prettier, but Tufte does lend itself to be very lightweight. Although with that comes restrictions – there are few options to choose from, so you get what you’re given. Check it out for a quick win bar chart.

Conclusion

As jQuery developers we don’t have a huge amount to choose from in this aspect right now, but if I was going to get cracking with any of these today I’d choose Flot or Sparklines where necessary. The Google Charts plugin is good, however it would be excellent if they can extend support for more of the complex Google Charts available, such as locale based on maps and the Google-o-meter. Flot is the closest you’re going to get to a interactive chart using jQuery right now, and that’s definitely the way to go…

Tools to help you learn…

Learning jQuery 1.3

Learning jQuery 1.3

Amazon Kindle 2

Amazon Kindle 2

jQuery UI 1.6

jQuery UI 1.6

42 Responses to “6 jQuery Chart Plugins For Your App”

  1. AngelaGrace says:

    Yes so can I use this meth chart in the fluxcompastitater ?

  2. Ryan says:

    Flot is awesome. I wanted to point out that while the ‘official’ flot has seen activity recently, there are times when it stagnates. Fortunately there’s plenty of interesting work being done with the library at github, so look it up there :)

  3. enej says:

    Great post.
    You can do some nice graphing with http://raphaeljs.com/ as well.
    Cheers

  4. Keith says:

    There’s also my Google Chart wrapper for jQuery. It covers all the available chart types and options. See http://keith-wood.name/gChart.html.

  5. You could also check out jqPlot at http://www.jqplot.com. It handles line, bar and pie charts, logarithmic and linear axes with sprintf style formatting, date axes with flexible formatting with support for up to 9 y axes. It has zooming, point dragging, automatic trend lines, filled and stacked charts, does data point highlighting, cursor tracking and more.

  6. bibby says:

    Folks should really check out the Visualize plugin released by the Filament Group ( creators of thre jQuery UI ThemeRoller).

    http://www.filamentgroup.com/lab/jquery_visualize_plugin_accessible_charts_graphs_from_tables_html5_canvas/

  7. ezequiel says:

    this seems pretty. havent tested yet
    http://raphaeljs.com/analytics.html

  8. Simplement ha-llu-ci-nant !! et en plus totalement lisible par les moteurs de recherche ! Alors? Elle es pas belle la vie?? ^^

  9. Ryan says:

    Thank you for the great write-up and suggestions.

  10. Victor says:

    Howdy,

    I would like to know you could give me a hint on how to use these in Sharepoint. hehehe. Do u have any clues? O.o

    Thank you, all mighty sir!

  11. Avangelist says:

    There seem to be some really good visual displays for charts, but not as many with interactivity. Flot certainly seems amazing, particularly with the ability to use tool tips, but It would be good to have a more consolidated library. jQplot seems the closest so far, but I really want something open GL to use in a commercial development.

  12. tian.wang says:

    create some charts in our websites, and need other charts more, thanks

  13. Pallav says:

    You can also check out the Free jQuery plugin for FusionCharts Free at http://www.fusioncharts.com/jquery – it offers a quick and easy way to build Flash charts in jQuery. Advanced features includes automatic conversion of HTML tables to interactive charts as well. Additionally, all charts are highly customizable.

  14. RSA Online says:

    Just started using jqPlot, it’s well worth a mention!

    http://www.jqplot.com

  15. i have watched something very close to this before

  16. Tim Farland says:

    I just made a small plugin that converts html nested list elements to google org charts:

    http://plugins.jquery.com/project/nested-list-to-google-org-chart

Trackbacks/Pingbacks

  1. [...] 6 jQuery Chart Plugins For Your App | Steve Reynolds Blog (tags: visualization javascript jquery plugins charts) [...]

  2. [...] 英文:6 jQuery Chart Plugins For Your App [...]

  3. [...] 英文:6 jQuery Chart Plugins For Your App [...]

  4. [...] 6 jQuery Chart Plugins For Your App | Steve Reynolds Blog As javascript frameworks like jQuery and Mootools get more and more powerful, and browsers start to support the latest CSS capabilities, chart creation is becoming more and more of a reality outside the realm of using flash. In this article I’ll discuss 6 jQuery charting plugins, their key capabilities and limitations. (tags: jQuery chart plugins) [...]

  5. [...] 6 jQuery Chart Plugins For Your App | Steve Reynolds Blog [...]

  6. [...] March 2, 2009 at 4:47 pm · Filed under Programming, Web [From 6 jQuery Chart Plugins For Your App | Steve Reynolds Blog] [...]

  7. [...] Just a quick plug! http://www.reynoldsftw.com/2009/02/6-jquery-chart-plugins-reviewed/ [...]

  8. [...] 6 jQuery Chart Plugins For Your App | Steve Reynolds Blog [...]

  9. [...] 延伸閱讀:6 jQuery Chart Plugins For Your App Tags: jQuery [...]

  10. [...] 6 jQuery Chart Plugins For Your App [...]

  11. [...] In: JQuery plugins 13 Jun 2009 Go to Source [...]

  12. [...] 4th, 2009 admin Posted in Others | No Comments » Earlier this year I took a look at jQuery and Javascript charting solutions. Whilst they’re great, they lack a lot of the polish that [...]

  13. pligg.com says:

    6 jQuery Chart Plugins For Your App…

    As javascript frameworks like jQuery and Mootools get more and more powerful, and browsers start to support the latest CSS capabilities, chart creation is becoming more and more of a reality outside the realm of using flash. In this article I’ll discus…

  14. [...] y dirigidas a los usuarios que están en la red o intranet. A continuación los enlazare a una liga donde detalladamente se realiza un análisis de algunos plugins para incorporar Graficas a sus [...]

  15. [...] across this great arti­cle on with a bunch of jQuery tools for visu­al­iz­ing data. One of the ones I have found to be par­tic­u­larly help­ful is flop. Take a look at the flot [...]

  16. [...] you dont feel like depending on google, you could use a jQuery powered chart plugin – 6 jQuery Chart Plugins For Your App __________________ Jason CorradinoApplications Developer My Website | My Twitter | My Delicious | [...]

  17. [...] 6 jQuery Chart Plugins For Your App As javascript frameworks like jQuery and Mootools get more and more powerful, and browsers start to support the latest CSS capabilities, chart creation is becoming more and more of a reality outside the realm of using flash. In this article I’ll discuss 6 jQuery charting plugins, their key capabilities and limitations. [...]

  18. [...] Christian: Statistikk og interaktive grafer for nettsider Open Flash Chart 6 jQuery Chart Plugins For Your App [...]

  19. [...] 原文链接:http://www.reynoldsftw.com/2009/02/6-jquery-chart-plugins-reviewed/ [...]

  20. [...] 6 jQuery Chart Plugins For Your App (tags: webdev visualization plugin plugins jquery js charts charting) [...]

  21. [...] source has a lot of interesting tools out there – from jQuery addins to full-blown BI suites – lots of tools to load up with your [...]

Leave a Reply