Live data from Hacker News

Plotly.js Open-Source Announcement

plot.ly

21–30 of 72 posts

Re: Plotly.js Open-Source Announcement

#21
post #3

Awesomely feature packed! And thus a bit beefy at ~1MB minified, but I guess that is the tradeoff.

~1MB, wow! I think I'll stick with metrics-graphics (~80kB). It's really a very nice and under-recognized chart library by Mozilla. Also based on d3.

Re: Plotly.js Open-Source Announcement

#25

Wait how does jQuery decrease cross-browser compatibility?? "jQuery has been removed from plotly.js for significantly better performance and improved browser compatibility."

Native JavaScript can be up to 10–100X than the equivalent operations done through a compatibility layer like jQuery.

Re: Plotly.js Open-Source Announcement

#26
post #19

How well does plot.ly do with plain old equation plotting? In particular, I'm looking for something that can produce mobile friendly plots that scales diagrams automatically to show relevant features (x, y intercepts, inflection points, etc) for simple function families - y= mx + b, ax^2 + bx + c, etc. Any suggestions on available libraries, or am I better to start from scratch on this?

You could compute a few [x,y] values for an equation y=f(x) and plot them using any line chart plotting library

Re: Plotly.js Open-Source Announcement

#27
post #25

Wait how does jQuery decrease cross-browser compatibility?? "jQuery has been removed from plotly.js for significantly better performance and improved browser compatibility."

Native JavaScript can be up to 10–100X than the equivalent operations done through a compatibility layer like jQuery.

I didn't ask about the performance claims.

Re: Plotly.js Open-Source Announcement

#29
post #28

This is awesome, however I don't understand their motivation to opensource or their business model following this. Any speculation or comments are welcomed.

Speculation: They get their revenue from on-premise installations and support plans. Big businesses don't buy software from lack of open-source options, they buy it because they don't want to deal with it themselves.

Re: Plotly.js Open-Source Announcement

#30
post #19

How well does plot.ly do with plain old equation plotting? In particular, I'm looking for something that can produce mobile friendly plots that scales diagrams automatically to show relevant features (x, y intercepts, inflection points, etc) for simple function families - y= mx + b, ax^2 + bx + c, etc. Any suggestions on available libraries, or am I better to start from scratch on this?

Check out JSXGraph:

http://jsxgraph.uni-bayreuth.de/wp/

It's mobile friendly so long as the user's browser supports canvas (in my experience with it). It supports multi-touch devices too, but I haven't verified that.

Post reply on HN