Suitable chart library for dynamic data? [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a suitable JavaScript charting library that will work well with being generated with data pulled from an API using Ajax/JSON. I'll be primarily using line, bar and pie charts.
Any library that is straightforward to use, has good documentation and will allow me to have animated graphs is also a plus.
What is my best option in this scenario?

Your question is a little vague - though from personal experience, I have found Chart.js and canvas.js (preferring the former) to be easy to use - they have detailed documentation, easy-to-use code formats and also available animations when the graphs are changed dynamically.

D3.JS
Have you seen D3.js?
As far as I know, it is the MOST flexible charting library.
Checkout the examples here: https://github.com/mbostock/d3/wiki/Gallery
Highcharts
The other one that I have used is Highcharts. Its not open source though and it is not free for commercial purposes. However, it is very easy to use.
Google Visualization / Google Charts
You may also use Google Visualization but it doesnt work offline (they dont allow you to download the library, sadly). But its easy to use.
All of the 3 libraries mentioned above provide line, bar and pie charts, with animation and very well documented.
Hope it helps :)

As said by #think123 I am also a fan of chart.js however it is limited in the sense of displaying actual data within the graphs themselves. Flot is also highly praised and does not have the limitations of chart.js - the hover effect is similar to Google Analytics

Why not go for D3.js?
D3 stands for Data-Driven Documents, but what it really means, is that it is a visualization library, that ultimately, like any other js visualization library, draw things on canvas.
Example: Some of the things that can be made using it are beautiful. Such as this

Related

React Flow Chart Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I need a flow chart library, that can help me to create a flow chart as shown below in React.
Would really appreciate if a link for similar demo is added.
You can use https://github.com/projectstorm/react-diagrams, here is the link to its demo.
The view of the implementation looks very similar to the one you mentioned in the pic given. Also since it says it's customizable, you can make it look like according to your requirements
Syncfusion have support to create a diagram with custom shapes , Label and Port to Port Connection in React. Please find the online samples of Syncfusion Diagram. We have created flow diagram which is similar to the provided screenshot.
Please refer to the sample from the below link:
Sample link: https://codesandbox.io/s/wkvjjopv18
You can also create a label for the node or connector by using annotation property. Please find the below link for how to add label to the node or connector
Link: https://ej2.syncfusion.com/react/documentation/diagram/labels#create-annotation
There aren't many flow and diagram libraries out there that have been specifically built for React. You should also be looking for generic solutions that integrate well with React.
If this is in a commercial context and/or your requirements are non-trivial, be sure to check out yFiles for HTML, which should be able to help you achieve all of the requirements I can see in your sample diagram:
You can customize the design and look of your visualization to match exactly your requirements
You can use automatic layout algorithms to dynamically arrange the items according to the structure of the data, without having the user to place items manually
You can add as many labels, ports (connectors at nodes), to nodes and edges.
You may customize the interactions, e.g. to disallow the creation of invalid structures in your diagram type
It is a white-label solution that can be embedded into any JavaScript application.
The library helps you create a react diagramming component and also comes with a React Diagram Integration Demo. This allows you to use all the features in a React powered application. See this full diagram editor app for a complex demo that shows many of the features of the library.
Disclaimer: I work for the company that creates the library above. I do not represent my employer on SO, though. Answers, questions, and opinions are my own.

Graph drawing libraries using Raphael [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for javascript libraries that draw graphs using the Raphael library.
Until now I've found these ones:
Graph Dracula http://www.graphdracula.net/
Joint http://www.jointjs.com/
Is anyone using them? Do you know their pros/cons?
Do you know other libraries using Raphael?
Please note: By graph, I mean a set of nodes and edges, we are not talking about charting.
edit: I need a library based on Raphael as it offers compatibility with IE6+, while other libraries draw on HTML5 Canvas and this is not supported by old browsers
EXT.JS is not free, but worth it.
Try Google Visualization API Gadget Gallery
Its Playground link is http://code.google.com/apis/ajax/playground/?type=visualization
Google provides API to load the flash based interactive graphs. I would consider this to better than the three option discovered because of its easy to use APIs and rich collection of graphs and last but not least rich look.

javascript graphing library [closed]

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

Javascript charting library for huge data [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Does anyone know of a Javascript charting library that can handle huge datasets?
By 'huge', I mean drawing a line graph with around 1,000 lines and 25,000 data points in total. (With an uneven distribution of points per line. A lot of lines have very few points, but some have up to 4,000.) Here is an example data file.
Currently I'm using Highcharts, but it's far too slow at plotting huge datasets.
I don't want to use Flash or Silverlight.
I was hoping to use Javascript so that my users can zoom+pan around the graph, and turn lines on/off etc. But if this is just too much data for any Javascript charting library to handle, then I'll have to make the graphs server-side.
In their example, the dygraphs library handles six thousand data points in a very fast manner. Perhaps that would be suitable for your needs?
It is based on Canvas with excanvas for IE support.
The ZingChart JavaScript charting library might be worth checking out. It was specifically built for big data and offers some great features to ensure fast, stable renders without losing interactivity.
Here is a demo that renders 100k points in under one second. And if you'd like to make some comparisons, there is also the ZingChart Vs. demo (note the warning on the top right- some libs can mess with your browser).
Full disclosure, I'm on the ZingChart team. I'm happy to answer any questions you might have about the library.
ECharts can handle a large amount of data (I've tested them with 100k points x 3 series).
It is an open source and free to use (Apache 2.0) library.
Here is an example of a large scale data chart https://ecomfe.github.io/echarts-examples/public/editor.html?c=candlestick-large
If you would like to use Echarts line series type with a large amount of data you should turn on "sampling" http://echarts.apache.org/option.html#series-line.sampling to aggregate data points.
Another useful option would be showSymbol: false which will also boost performance.
Old thread but maybe of some use. Highcharts have added a 'boost' module to improve dataset point plotting. They say this can handle millions of data points with ease.

Seeking a good solution for SVG + Javascript framework [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking to hear others experiences with SVG + Javascript Frameworks.
Things that I'd like the framework to handle - DOM creation, event handling and minimal size.
Jquery SVG plugin - http://keith-wood.name/svg.html seems to be the only one I can find.
Raphael is a javascript framework for manipulating vector graphics, either with SVG or VML, depending on what the browser supports.
Check the D3 library
D3.js is a small, free JavaScript library for manipulating documents based on data.
My favorite JavaScript framework is jQuery. But original jQuery package is unable to run inside SVG because of some HTML-specific places.
But I have patched the newest version of jQuery (1.4.2) so it is able to run under SVG now. You can take patched jQuery package from here.
A single issue with it is that SVG doesn't invoke initialization function from incuded jQuery source so I was to introduce jQueryInitialize function and jQueryInitialize(window); must be invoked manually in svg:onload event.
This post is too old but I think maybe people will be interesting checking out http://snapsvg.io/ which is a framework build by the same guy that did Raphael. But for modern browsers.
Do you need SVG or just vector-like graphics manipulation? John Resig ported the "Processing" visualization language to JavaScript. I never used it, but from the creator of jQuery it may help you out if you don't actually require SVG.
http://ejohn.org/blog/processingjs/
I haven't used it yet, but i bookmarked PlotKit some time ago because it's a javascript framework that generates svg
I'm sorry, but spam prevention mechanism impede me from posting more than one hyperlink in one answer. Here is prove of concept of running jQuery under SVG.

Categories

Resources