Can I move an SVG element between SVG groups - without stirring too much calculation behind the scenes nor crafting too much code in my own code? The d3 api documentation me
You can't do this in D3, but JQuery has the .appendTo() function for that, e.g.
$("#element").appendTo("#otherGroup");