News for hackers. Stuff that matters.
Re:Ask HN: Your favorite open-source JavaScript Library for ... by realtarget on Friday May 27, 2016 @07:31AM (#11785271)
Thanks for your recommendations.

I'm currently taking a look at all the libraries and will test the functionality over the next days. Some of them are realy overweighted - especially the D3-based libs seem to be slower than the others.

I'll keep you informed about my "test winner".

Re:Ask HN: Your favorite open-source JavaScript Library for ... by dagw on Wednesday May 18, 2016 @09:09AM (#11721616)
http://plot.ly does everything I've ever wanted and more with pretty good API. The fact that I can use the same API first for doing data exploration in python or R and then when publishing the results to the web is a nice added bonus.
Re:Ask HN: Your favorite open-source JavaScript Library for ... by bzalasky on Thursday May 19, 2016 @09:35PM (#11735101)
After using several different libraries over the past few years, I've started using D3.js on its own. While it's more work than dropping something ready-made into an app, it's more flexible.

If you have specific designs/requirements to work from, it may be easier to build the charts with D3 than trying to shoehorn a stock chart into matching the spec. Behaviors like linking chart interactions to independent components (or vice versa) become easier to implement as well.

If you care less about flexibility, Chartist is a solid contender: https://gionkunz.github.io/chartist-js/

Re:Ask HN: Your favorite open-source JavaScript Library for ... by bzalasky on Thursday May 19, 2016 @09:42PM (#11735119)
These two videos from Scott Murray are a great intro to D3 if you haven't worked with it before:

https://www.safaribooksonline.com/library/view/an-introducti...

https://www.safaribooksonline.com/library/view/intermediate-...

Re:Ask HN: Your favorite open-source JavaScript Library for ... by antman on Wednesday May 18, 2016 @10:49AM (#11722348)
Try the Github showcases that lists all the major ones https://github.com/showcases/data-visualization
Re:Ask HN: Your favorite open-source JavaScript Library for ... by superflit on Wednesday May 18, 2016 @09:02AM (#11721565)
The one I use is HighCharts [1]

Very clean and very good.

[1] - http://www.highcharts.com/

Re:Ask HN: Your favorite open-source JavaScript Library for ... by stadeschuldt on Thursday May 19, 2016 @07:07AM (#11729297)
I love HighCharts and use it for my open-source project at http://solarpi.tafkas.net

If you have a commercial product you have to pay for the license though.

Re:Ask HN: Your favorite open-source JavaScript Library for ... by andymurd on Thursday May 19, 2016 @01:38AM (#11728237)
NVD3's pie chart[1] is quite straightforward, some of the other charts in the library need work though.

[1] - http://nvd3.org/examples/pie.html

Re:Ask HN: Your favorite open-source JavaScript Library for ... by roschdal on Wednesday May 18, 2016 @03:31PM (#11725049)
Re:Ask HN: Your favorite open-source JavaScript Library for ... by midgetjones on Wednesday May 18, 2016 @08:52AM (#11721506)
I like http://c3js.org/ - it's built on top of D3.