News for hackers. Stuff that matters.
Re:Plottable.js – Flexible, interactive charts for the web by sethammons on Monday September 05, 2016 @10:16AM (#12430431)
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 by SimeVidas on Monday September 05, 2016 @02:15PM (#12431538)
Wait another year, and you’ll be able to just import the custom element, e.g. <cool-chart> and configure it declaratively via content attributes :).
Re:Plottable.js – Flexible, interactive charts for the web by spankalee on Monday September 05, 2016 @06:07PM (#12432482)
Yes, this is where things are going, but you'll still likely need to install <cool-chart> via npm or bower.
Re:Plottable.js – Flexible, interactive charts for the web by codegeek on Monday September 05, 2016 @10:33AM (#12430523)
They do have a cdn url for the js and css. You can directly link to those:

https://cdnjs.com/libraries/plottable.js

The page above actually links to the following:

https://cdnjs.cloudflare.com/ajax/libs/plottable.js/2.2.0/pl...

https://cdnjs.cloudflare.com/ajax/libs/plottable.js/2.2.0/pl...

Re:Plottable.js – Flexible, interactive charts for the web by have_faith on Monday September 05, 2016 @10:19AM (#12430447)
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 by SlashmanX on Monday September 05, 2016 @11:26AM (#12430792)
The Readme[0] has links to a hosted version on a CDN, as well as a direct download

[0]: https://github.com/palantir/plottable#quick-start

Re:Plottable.js – Flexible, interactive charts for the web by rdoherty on Monday September 05, 2016 @11:17AM (#12430748)
I would look at Flot, it's just 1 file (plugins are additional files) and very simple to use. http://www.flotcharts.org/
Re:Plottable.js – Flexible, interactive charts for the web by onli on Monday September 05, 2016 @11:48AM (#12430876)
I wouldn't. While it still works (and I use it in a project of mine), the last commit is two years old and there are more and more open issues. It's a dead project.
Re:Plottable.js – Flexible, interactive charts for the web by nzjrs on Monday September 05, 2016 @12:38PM (#12431138)
On the other hand, using the flavour-of-the month JS shiny thing until the CADTs jump ship is also burdensome. There is a lot to be said for stable libraries, let-alone stable ecosystems.
Re:Plottable.js – Flexible, interactive charts for the web by onli on Monday September 05, 2016 @01:01PM (#12431226)
Totally agree. But there is a difference between stable and dead. Bugfixes matter. Taking care of issues would mean that things like "FF 51 breaks the tooltips" (fictional example) gets discovered and fixed. And one or two improvements a years also don't hurt.
Re:Plottable.js – Flexible, interactive charts for the web by rdoherty on Monday September 05, 2016 @12:54PM (#12431199)
IMHO that's a good thing. It's not changing, works very well, has lots of plugins and is a relatively small library so you can fix it yourself. Plus a large user base, so many problems you run into are already known.
Re:Plottable.js – Flexible, interactive charts for the web by markdown on Monday September 05, 2016 @06:56PM (#12432654)
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 by sotojuan on Monday September 05, 2016 @11:04AM (#12430664)
Re:Plottable.js – Flexible, interactive charts for the web by mauriyouth on Monday September 05, 2016 @10:22AM (#12430469)
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.