Live data from Hacker News

Plottable.js – Flexible, interactive charts for the web

plottablejs.org

1–10 of 90 posts

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

#2
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.

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

#3

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.

https://github.com/fasouto/awesome-dataviz#javascript-tools

I personally love: http://metricsgraphicsjs.org/ and http://www.chartjs.org/

BTW I created the list, comments are appreciated

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

#4
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?

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

#5

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.

I use http://recharts.org, and i'm very happy using it since. Integrates well with react, other nice library that works well with react is https://formidable.com/open-source/victory, but less opinated and lower level. For alternative outside the react world, you have many wrapper around d3.js, that are higher level enough like nvd3.js, that let you throw quickly on the screen a chart.

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

#6

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.

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

#7
Can someone enlighten me on why they're doing two declarations, one empty returning `this` and the other, implemented, returning `any`?

    public connectorsEnabled(enabled: boolean): this;
    public connectorsEnabled(enabled?: boolean): any {
      if (enabled == null) {
        return this._connectorsEnabled;
      }
      this._connectorsEnabled = enabled;
      return this;
    }
https://github.com/palantir/plottable/blob/develop/src/plots...

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

#8

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?

you don't need npm, node, grunt....just a build for the browser of the lib, i think it's called a umd build, and include it in your html file.

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

#9

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.

I would honestly say that D3.js is the most flexible and powerful charting library I've ever used.

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

#10
post #7

Can someone enlighten me on why they're doing two declarations, one empty returning `this` and the other, implemented, returning `any`? public connectorsEnabled(enabled: boolean): this; public connectorsEnabled(enabled?: boolean): any { if (enabled == null) { return this._connectorsEnabled; } this._connectorsEnabled = enabled; return this; } https://github.com/palantir/plottable/blob/develop/src/plots...

Possibly method overloading in the type signature. If `enabled` is supplied the return is `this`, otherwise `any`.
Post reply on HN