Javascript charting library [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 2 years ago.
Improve this question
I'm trying to visualize data like in this spreadsheet https://docs.google.com/spreadsheet/ccc?key=0AhtsNUEmDE6MdE0ybXppcG1jampsVnBfZWpEZm9vbmc .
So I would have columns for each person and hours on the left hand side. And the ability to color the columns like in the spreadsheet.
I know about raphaeljs or flot ... but I'm not seeing in the examples something that fits with what I need.
Or maybe I'm not looking at it the right way.
Any suggestions about what to use and how to best display what I want ?
Thank you.
EDIT
http://www.saltycrane.com/blog/2010/03/jquery-flot-stacked-bar-chart-example/
I just found this .. and it seems to have everything I described in the spreadsheet.
Thank you for your answers.

Have a look at these links
High-charts - Interactive JavaScript charts for your web pages.
Open Flash Chart 2 - Server side PHP, Perl, Python, Ruby, .NET, Google Web Toolkit and JAVA.
Google Charts - Display live data on your site
zingchart - Build Flash or HTML5 charts and graphs with the latest & greatest features and technologies
pchart - pChart is a PHP class oriented framework designed to create aliased charts
fusioncharts - It can render over 90 charts and gauges in JavaScript (HTML5) and Flash, along with 550 data-driven maps

Try these ones:
http://www.highcharts.com/
http://www.jqchart.com/samples/ChartTypes/StackedColumn

I see in your latest comment you found the stacked bar chart will fit your needs. Most JavaScript charting libraries can accommodate that.
This chart shows a list of libraries and the chart types they support -- http://en.wikipedia.org/wiki/Comparison_of_JavaScript_charting_frameworks
Your selection of one of these tools will come down to how you want to render the chart once you've made it, and how you'd like your users to be able to interact with/share the chart.

Hmm .. I think flot will actually do all that I need : http://www.saltycrane.com/blog/2010/03/jquery-flot-stacked-bar-chart-example/ - this is a great example and seems to match what I described.

Related

JavaScript library to support interactive charts, graphs etc on canvas? [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 a useful library which would help me in drawing different interactive charts, graphs etc on canvas. Basically i'm designing a web paint like application and adding the functionality of these interactive charts etc. so what i want is, when user clicks the specific chart, he can then click anywhere inside the canvas and the chart appears there with the data given by user in a file(i will handle that once i know the data format and stuff). I tried a few libraries but either they don't support drawing inside canvas or they aren't offering any interactivity... what do you guys suggest me to go for?
As #Pereira said both chartjs and google chart are good solutions. I will also recommend you take a look at:
HighchartsJS (http://www.highcharts.com/)
PolychartJS (http://www.polychartjs.com/)
I hope it helps you.
Here we have someones:
http://www.chartjs.org/
https://developers.google.com/chart/
I think both are good solutions to you.
I just finished a project where we did this using the chart.js library. Clicking bars generates a new, more specific graph based on the clicked bar. I think a big part of what made this possible for us was the use of a RESTful API to manage the data. Check it out if you're interested.

JavaScript library for dynamic network visualization? [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
What is a good JavaScript library for the visualization of time-evolving/dynamic graphs/networks?
My data is in the form of source -> destination at time triples like the following
A -> B at 100
B -> C at 101
A -> D at 104
C -> D at 105
...
On the screen I would like to see an animation of points connected by edges with edges flickering on and off as time evolves.
I'm also happy to contribute to an open source library that is almost there.
Clarifications:
By graph I mean a set of nodes connected by a set of edges, not a plot
This question is related to (but distinct from) the following question: Graph visualization library in JavaScript
Vis.js, a browser based visualization library, is another option for you. Also, their public repo is active.
I've worked with Sigma.js, which is an open source library exactly for the purpose of drawing network graphs. It's Canvas based, so faster than SVG especially for large networks, but dynamic manipulation of nodes/edges is not as straightforward. One nice feature is you can render Gexf files, created with Gephi or other tools, with very little effort.
Take a look at d3.js: "D3.js is a JavaScript library for manipulating documents based on data" http://d3js.org/
Here's an example of drawing a graph from a dataset: http://bl.ocks.org/mbostock/1153292
Here's an example that shows how to dynamically update data. You could stream it from a server or simulate it by stepping through the data entirely on the client side: http://mbostock.github.io/d3/tutorial/bar-2.html
Have a look at this example by ZoomCharts:
]
Seems this is exactly what you are looking for.
Disclosure: I am co-owner and core developer in ZoomCharts.com

Open source library/framework for building dashboard (bar,line,pie,etc) [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 have done POC with highcharts and works fine and looks great.
I am looking for better open source library/framework using which i can develop my dashboard showing different graphs.
The UI framework must handle the real time data (like Ajax calls or REST).
Any helpful suggestion appreciated.
D3 (Data-Driven Documents) is excellent if you have a bit of time to learn it.
Some examples:
http://bl.ocks.org/3287802
http://jondot.github.com/graphene/
After you pick your graphing solution (plots, charts, ...) some drag-and-droop grid to put it all together on one dashboard:
gridster.js (MIT licensed) may come in handy
Packery non-profit GPL v3 licensed or one-time purchase for a commercial license
here's another awesome looking one (quite win8 themed) : dashing
http://www.flotcharts.org/ provides a popular open source javascript charts library.
There are many charts plugins out there. http://www.queness.com/post/10781/13-chart-and-graph-plotting-javascript-plugins
My recommendations:
JQPlot: jQuery plugin. Uses canvas element or VML
gRaphael: uses raphaeljs JS library. SVG W3C Recommendation and VML as a base for creating graphics. - Lots of options.
If you only need an charts api
try https://developers.google.com/chart/
Its also support real-time updates

Creating a swim lane chart using d3 [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 to generate a swim lanes chart similar to the following but with the addition of showing dates on the Y-axis. All of the nodes I need to show are activities with dependencies, no flow control elements.
Is this possible using something like d3 or is there a better javascript library to use for this type of chart? I haven't seen any examples like it, so if it is possible using d3 I'm not sure where I would start. Any tips would be greatly appreciated.
Based on the previous answer and comments, I started down the path of implementing the chart using Raphael.js. After writing 600+ lines of code (mostly framework stuff to make up for its bare bones nature) I discovered that Raphael.js is extremely slow at rendering text. Not sure exactly why, but it's apparently a known issue. In the end it was taking 3.5s to render a chart with 300 items with 80% of the time spent rendering text.
I then started over with d3.js. I found that d3.js is the much better choice when creating data bound charts when legacy browser support isn't a concern. Creating a swim lane chart in d3.js took me about 100 lines of code vs the 600+ for Raphael.js. The d3.js version also has more functionality, looks nicer, and is more responsive.
While the declarative style of d3.js takes some getting used to, it makes working with data super easy. As an added bonus, my chart now renders in about 250 ms :)
See http://bl.ocks.org/1962173 for the final swim lane chart that I created.
In my opinion raphael.js is suitable here. It provides support for all browsers including IE6-8, while d3 works in SVG-enabled browsers only.

Looking for charts library that supports linked events [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 8 years ago.
Improve this question
I am looking for a Library that allows me to create Charts like the "Annotated Time Lines" that are e.g. used on Google Finance. I can't use the Google API because it relies on Flash and my chart should not only work on all common browsers but also be usable with mobile devices like the ipad.
I don't need all of the features of Google's Solution, but displaying linked event flags in the chart is an essential requirement and the ability to arbitrarily zoom and pan the chart would also be nice, the latter feature is however not a must on mobile devices and older browsers.
A serverside solution that transparently generates plain image charts if flash (or other client features like canvas-elements) is not available on the client would also be ok, I have asp.net mvc 2 running on the serverside.
An open source solution would be great, but a commercial library or component is also an option.
Any Suggestions?
What about http://highcharts.com, their API is very complete
A popular opensource Javascript plotting library is the flot library (JQuery plugin). More information:
Flot Sample with a basic annotated time line
Flot usage on the web (many samples)
www.hightcharts.com is amazing
mmm, I think you can extend the Highcharts library with no hassle, they have pretty good documentation, and also Is really easy to understand their api and code. I suggest you, first implement the linked events, and then with some free time study the code to add that functionality.
I recommend http://g.raphaeljs.com/
(I've used Raphael.js extensively for http://radiancejs.com.)
You'll have to do the scrolling to zoom thing yourself, however.

Categories