News for hackers. Stuff that matters.
Re:Britecharts: D3.js based charting library of components by forvelin on Wednesday May 10, 2017 @11:10AM (#14308760)
I think it is like C3.js [1] or Chart.js [2], just yet another layer of abstraction. If you don't want to do something extra-special, just a simple bar chart or so, those two were my go-to libraries. I wonder what does this one offer ?

[1] - http://c3js.org/ [2] - http://www.chartjs.org/

Re:Britecharts: D3.js based charting library of components by swah on Wednesday May 10, 2017 @12:19PM (#14309404)
IIRC Chart.js is canvas based, and D3.js SVG based.

What would you use for a very custom chart (something like a Gantt, say) ? D3 or something like snapsvg.io ?

I used to like Raphael a few years ago..

Re:Britecharts: D3.js based charting library of components by forvelin on Wednesday May 10, 2017 @01:50PM (#14310106)
Quite a coincidence but we just made a live Gantt chart with a raw d3+canvas and websockets in production, works quite well.
Re:Britecharts: D3.js based charting library of components by swah on Wednesday May 10, 2017 @07:10PM (#14312565)
Nice! This one https://frappe.github.io/gantt/ looks good but simple, and D3 is probably better for doing customizations.

Can you explain what you mean by D3 + canvas? A secondary view?

Re:Britecharts: D3.js based charting library of components by Golodhros on Wednesday May 10, 2017 @01:46PM (#14310062)
Hi forvelin, Britecharts use case would be essentially the same. If you need a simple chart, you can use one of them out of the box. Although if you know a bit about D3, you could easily fork the chart and customize it to your needs, making use of our Demo page as a sandboxed test space and our current test suite for keeping the quality of your chart high!