Ubah Tampilan Port SVG dengan JavaScript

shape = document.getElementsByTagName("svg")[0];
shape.setAttribute("viewBox", "-250 -250 500 750"); 
Mehrshad Farzaneh