I created a svg using D3. However, it only shows up on the upper left conner of the screen, or been appended to another svg. Are there anyway I can move it using JavaScript? For
Before you need append any SVG object to apply the transition on canvas.
The tutorial step-by-step below show you, in practice, each property of method Transition from D3js.
http://blog.visual.ly/creating-animations-and-transitions-with-d3-js/
Enjoy!