added transform to svg element
creating new data and attributes