Live data from Hacker News

Plottable.js – Flexible, interactive charts for the web

plottablejs.org

71–80 of 90 posts

Re: Plottable.js – Flexible, interactive charts for the web

#71
post #23

I really dislike these simple charting libraries, because I always have some kind of issue that just wastes my time in the end. For example with plottable, there is a hover event function that is extremely expensive that will trigger for every pixel movement with your mouse. With just a few hundred datapoints every chart we rendered ran horribly slow. With D3.js you have instead full flexibility and the only performa…

FWIW D3.js is a dependency of plottable

Re: Plottable.js – Flexible, interactive charts for the web

#72

It has been over a decade since I did any legitimate work in JavaScript. If I wanted to use this to make some pretty data displays, do I really need to install an ecosystem (npm, node, grunt, bower, more?) instead of just pointing a script tag to something.js?

Providing they give you a download to the compiled script, there's no reason you can't just point a script tag at the source file. You would only need node and the rest to modify the source code I assume as they would have setup build tasks with grunt etc.

[deleted]

Re: Plottable.js – Flexible, interactive charts for the web

#73

It has been over a decade since I did any legitimate work in JavaScript. If I wanted to use this to make some pretty data displays, do I really need to install an ecosystem (npm, node, grunt, bower, more?) instead of just pointing a script tag to something.js?

Wait another year, and you’ll be able to just import the custom element, e.g. and configure it declaratively via content attributes :).

Yes, this is where things are going, but you'll still likely need to install via npm or bower.

Re: Plottable.js – Flexible, interactive charts for the web

#74
post #18

This is definitely the best charting library I've worked with so far, mostly because of its flexibility. However, being afraid that I'm not aware of some other, maybe more powerful, libraries out there, I'm asking here are there good alternatives? Also, there were some rumors lately regarding the layoffs in Palantir, which makes me worry about the future of the project.

http://c3js.org/ is the free version of HighCharts, and combined with D3.js you get a powerful and flexible charting library.

I use C3. Used to use HighCharts at last job. Both are really good.

C3 builds on top of D3 (D3 is a requirement). The documentation is ok, but I like the way it builds the more simple charts I'm creating now.

HighCharts is full featured and heavier. Its amazing what it can do. It falls back to older browsers fairly easily. It wasn't free though.

Re: Plottable.js – Flexible, interactive charts for the web

#75

It has been over a decade since I did any legitimate work in JavaScript. If I wanted to use this to make some pretty data displays, do I really need to install an ecosystem (npm, node, grunt, bower, more?) instead of just pointing a script tag to something.js?

These days you need to install all that shit just for hello-world.html

Check out any web dev project on github. Web developers are fucking insane.

Re: Plottable.js – Flexible, interactive charts for the web

#76
Does this library handle multiple scales per series on a single chart? This is a pretty key requirement for me and a lot of the javascript libraries I've found don't handle this user case very cleanly.

Ideally I want to plot common time series data with independent scales for each yaxis variable. This is for plotting thermocouple traces.

Here is a stack overflow post from me a while ago: https://stackoverflow.com/questions/35262796/plot-multiple-s...

Re: Plottable.js – Flexible, interactive charts for the web

#77
post #70
post #56

Earlier quoted context omitted.

That used to be the case until the end of last year, but it has been open-sourced and you can render a plot entirely on the client side, without a roundtrip to Plot.ly's servers (no rate limits anymore, custom integrations to your existing stuff, etc.), for free. https://plot.ly/javascript/open-source-announcement/

We looked into it after they open sourced it; AFAIK, it is still designed to connect to their streaming servers with an API key (or run locally in an ipython notebook or similar "offline"). If you want to make your own private dashboards for your own system you still need https://plot.ly/product/enterprise/#plotly-on-premise See https://github.com/plotly/plotly.js/issues/16 Maybe there is a way of rolling your own, b…

[deleted]

Re: Plottable.js – Flexible, interactive charts for the web

#78
post #70
post #56

Earlier quoted context omitted.

That used to be the case until the end of last year, but it has been open-sourced and you can render a plot entirely on the client side, without a roundtrip to Plot.ly's servers (no rate limits anymore, custom integrations to your existing stuff, etc.), for free. https://plot.ly/javascript/open-source-announcement/

We looked into it after they open sourced it; AFAIK, it is still designed to connect to their streaming servers with an API key (or run locally in an ipython notebook or similar "offline"). If you want to make your own private dashboards for your own system you still need https://plot.ly/product/enterprise/#plotly-on-premise See https://github.com/plotly/plotly.js/issues/16 Maybe there is a way of rolling your own, b…

[deleted]

Re: Plottable.js – Flexible, interactive charts for the web

#79

Does this library handle multiple scales per series on a single chart? This is a pretty key requirement for me and a lot of the javascript libraries I've found don't handle this user case very cleanly. Ideally I want to plot common time series data with independent scales for each yaxis variable. This is for plotting thermocouple traces. Here is a stack overflow post from me a while ago: https://stackoverflow.com/que…

Have you tried ZingChart? It supports multiple scales: https://www.zingchart.com/docs/basic-elements/configure-char...

Re: Plottable.js – Flexible, interactive charts for the web

#80

Does this library handle multiple scales per series on a single chart? This is a pretty key requirement for me and a lot of the javascript libraries I've found don't handle this user case very cleanly. Ideally I want to plot common time series data with independent scales for each yaxis variable. This is for plotting thermocouple traces. Here is a stack overflow post from me a while ago: https://stackoverflow.com/que…

Have you tried ZingChart? It supports multiple scales: https://www.zingchart.com/docs/basic-elements/configure-char...

Thank you that looks like exactly what I need.

I've been looking for something with support for this a long time - cheers very much appreciated.

Post reply on HN