Live data from Hacker News

Plotly.js Open-Source Announcement

plot.ly

51–60 of 72 posts

Re: Plotly.js Open-Source Announcement

#53
post #35
post #21

Earlier quoted context omitted.

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

A big yes! I discovered and adopted MetricsGraphics today, after having tried so many alternatives in the past days (Chart.js is missing some features, C3.js charts are ugly, Plottable.js is too low level, NVD3 is not stable, Epoch has not rollover, etc.). MetricsGraphics is at the same time easy to use, quite powerful, and creates beautiful charts out the box. It made my day. But for "explorable" scientific charts (…

What features did you find missing from Chart.js? I'm one of the maintainers, so getting this kind of feedback is great!

Re: Plotly.js Open-Source Announcement

#54

This is great news for Jupyter (IPython) Notebooks: https://plot.ly/python/offline/ It basically provides interactive inline visualizations, making it great for data exploration (without having to send any data to plot.ly) I'm wondering if the success of Continuum (Anaconda) could've influence Plot.ly?

One thing I've been waiting for (and if I had the time, I'd love to work on something like this) is scientific javascript. I love es6 and classless oop[0] that javascript provides (and general dynamic-ness) but the lack of operator overloading makes mathy infix operators work with an array-like type not possible in native js. Something that had the "functional", dynamic semantics of javascript with the natural notation that numpy has (with its broadcasting rules) would be fantastic.

Stuff like plotly is great, but as far as I can tell, I'm not going to be able to use it any time soon because I'm not going to write a >10 term expression in javascript when every '+' becomes a 'add(a,b)' or 'a.add(b)'.

[0] https://youtu.be/bo36MrBfTk4?t=33m45s

Re: Plotly.js Open-Source Announcement

#55
post #25

Earlier quoted context omitted.

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.

Maybe the performance was bad on specific browsers?

Re: Plotly.js Open-Source Announcement

#57

This is great news for Jupyter (IPython) Notebooks: https://plot.ly/python/offline/ It basically provides interactive inline visualizations, making it great for data exploration (without having to send any data to plot.ly) I'm wondering if the success of Continuum (Anaconda) could've influence Plot.ly?

I have tried both, Bokeh (without the server) and plot.js (their python lib offers a JSON encode option so that you can use their Python lib with plotly.js without sending data to plotly).

However, I found both to be very similar and still don't have a clear favorite. Any opinions on which solution is better suited for (internal) interactive dashboards?

Re: Plotly.js Open-Source Announcement

#58

This is great news for Jupyter (IPython) Notebooks: https://plot.ly/python/offline/ It basically provides interactive inline visualizations, making it great for data exploration (without having to send any data to plot.ly) I'm wondering if the success of Continuum (Anaconda) could've influence Plot.ly?

One thing I've been waiting for (and if I had the time, I'd love to work on something like this) is scientific javascript. I love es6 and classless oop[0] that javascript provides (and general dynamic-ness) but the lack of operator overloading makes mathy infix operators work with an array-like type not possible in native js. Something that had the "functional", dynamic semantics of javascript with the natural notati…

To do that you first need to have a way of extending JavaScript with C and/or Fortran. No way numpy can be implemented in pure js or python without being excruciatingly slow.

Re: Plotly.js Open-Source Announcement

#59
post #16

Earlier quoted context omitted.

...most chart libs use SVG. Beside Highcharts (not open source) I have yet to see a SVG based charting lib that is fast and lightweight. d3.js and chart libs based on d3.js (like plot.ly) are very heavy weigth in comparision (= more than 100KB minified JS code; plot.ly is 1.05MB huge: https://github.com/plotly/plotly.js/blob/master/dist/plotly.... ) SVG wasn't supported until Android 4 and only Internet Explorer/Edge…

Also, canvas support can be turned off. We have clients who have the latest version of Chrome, however they run on VMs and the system admins have canvas turned off (no gpu rendering at all). Out of our control...

Can't canvas be rendered in CPU?

Re: Plotly.js Open-Source Announcement

#60

Earlier quoted context omitted.

I don't know, Highcharts and Highslide are insanely complex, but very capable.

We've been using Highcharts in our app for about 2 years and are generally pretty happy with it. The one thing Highcharts doesn't do well is line charts for data series where the x-axis value isn't always increasing (ie data that loops around on the plot). Usually renders ok the first time but zoom breaks completely in our experience. For us this issue is a big enough pain for our users (who have been stuck with scat…

Out of curiosity, what kind of dataset would do that?
Post reply on HN