Search code examples
javascriptgraphing

javascript graphing library


I'm looking for a nice graphing library for JavaScript that can handle the following types of graphs:

  • Line Graphs
  • Histograms
  • Scatterplots
  • Motion Charts

I've tried Google's Chart Tools but they don't seem to have a nice histogram chart (nor can I get their motion chart to work properly, even served off my Apache web server).

I'm hoping that there's a decent library out there that can support all of these, however if I must, I may include 2 different libraries (looking at Google Chart Tools, gRafael, flotr, and rgraph right now - none of which seem to include ALL of the requirements I have).


Solution

  • I'm surprised no one has mentioned JQPlot yet. I'm not entirely sure it will do everything you need, but it's a very, very capable library. It's in jQuery, just to note.

    Demos of JQPlot here

    JQPlot can fit all your needs, it seems:

    • Line Graphs JQPlot supports these just fine, as you'd expect
    • Histograms Histograms are just bar charts, so that should be ok. A colour histogram would just consist of 1px wide bars
    • Scatterplots Scatter plots are also fine
    • Motion Charts I think you mean bubble plots, which JQPlot also does