Live data from Hacker News

Show HN: JavaScript Graphing Library Comparison

jsgraphs.com

111–117 of 117 posts

Re: Show HN: JavaScript Graphing Library Comparison

#112

Can you add a `None` filter in the Dependancies section? After a quick look it seems like there a few that would fall into this option.

I like that idea, thanks!

negative filters might be useful too. i.e. non-jQuery non-d3, or at least make selecting multiple dependencies show the union of both sets, rather than the empty intersection.

Re: Show HN: JavaScript Graphing Library Comparison

#114
post #92

What are the advantages of SVG or Canvas in that use case? Which one (SVG, Canvas) is principle faster on current browser with thousands of data points?

Canvas is faster, as it basically is just a bitmap, while an SVG chart with a million points would correspond to at least a million DOM elements.

You don't necessarily need a million DOM elements. Data points could mean points of a single plot, in which case you have a single path element with lots of points. Generally you can almost always bunch things together in a single path to reduce the number of DOM elements (with other tradeoffs, of course).

Re: Show HN: JavaScript Graphing Library Comparison

#115

Very nice work. How about a graph type "arrow diagram" as a subtype of "drawing"? One thing I'm missing a bit in the list is GraphViz style diagrams.

If you are interested in network visualization you might consider Cytoscape.js. It's being used e.g. in bioinformatics (visualizing networks of interacting genes, interactively inspecting & manipulating their layout etc). Open-source license, and seems to be becoming quite featureful:

http://js.cytoscape.org/

Re: Show HN: JavaScript Graphing Library Comparison

#116
post #12
post #4

Good stuff! What about D3? http://d3js.org/

I would consider D3 not to be a graph making library, but more a Data Frame & Document Object Model data binding library with a collection of stats functions.

Yeah. I consider D3 a good starting point to build a charting library on top of.

Re: Show HN: JavaScript Graphing Library Comparison

#117

While we're on the topic, I'm beginning with js with a goal to create some materials for maths classes. Which library would let me do, for example, graphs of quadratic, cubic functions AND possibly drag/move the line to see how the equation translates? Thank you

Thank you everyone. I'll check the suggested options.
Post reply on HN