In SVG, you can add the various event listeners to an SVG shape directly.
Example:Test it Now
Transforming the Coordinate System
Using the transform attribute, you can move the graphics to a new location. You can also rotate or scale the graphics. You have to add the transform attribute to the appropriate SVG elements for transforming the coordinate system.