News for hackers. Stuff that matters.
Re:Replacing jQuery with D3 by ww520 on Friday May 15, 2015 @08:04AM (#9550039)
D3 is an amazing library. At first glance thought it's a charting library. Upon further usage realized it's more of a DOM manipulation library just like JQuery, with the additional support on SVG, which happens to do chart.
Re:Replacing jQuery with D3 by Tloewald on Friday May 15, 2015 @08:05AM (#9550042)
Jquery works quite well on SVG too. It's all Dom nodes.
Re:Replacing jQuery with D3 by slowhead on Friday May 15, 2015 @08:43AM (#9550178)
There are limits to what you can do with JQuery on SVG, hence the existence of plugins such as this one : http://keith-wood.name/svg.html
Re:Replacing jQuery with D3 by k__ on Friday May 15, 2015 @08:24AM (#9550107)
Yes.

I think D3 and JQuery differ more with the dynamic data binding. In D3 you can bind a function to an DOM value.

Re:Replacing jQuery with D3 by silverwind on Friday May 15, 2015 @01:26PM (#9552116)
jQuery's SVG support is limited. For example, it can't do class manipulation today (will be in 3.0 though).
Re:Replacing jQuery with D3 by indubitably on Friday May 15, 2015 @04:08PM (#9553325)
Javascript can also do DOM nodes…