开发者

javascript graphing library [closed]

开发者 https://www.devze.com 2023-03-21 14:39 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

I开发者_Go百科mprove this question

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).


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


graphael supports a number of graph types.

https://stackoverflow.com/questions/1571016/raphael-js-tutorial has some helpful tips.


I ran across this question while researching the same topic. Since I wasn't entirely happy with any of the options out there, I created i3d3, a fairly simple library based on D3.js which may meet your needs. So far it is working well for our project (monitoring system for a high-energy particle astrophysics project), and at least one other project in the wild.

0

精彩评论

暂无评论...
验证码 换一张
取 消