moved transformation to svg data