The viewport option allows you to set the portion of the canvas that you want to see / display. If you want to "resize" your svg (svg does not have a real size, because it is a vector image), you can add / change the width and height parameters. in the <svg> header as follows:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="text/ecmascript" zoomAndPan="magnify" width="1200" height="720" contentStyleType="tex ....</svg>
If you want to change the viewport, you can add a parameter
viewBox="0 0 1200.0 720.0"
in the <svg> header (for HD viewing 1200 to 720).
source share