updated svg, updated scale method to include coordinate transform