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.
[ Parent
| on HN ]
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
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…