You need to use the “viewbox” attribute. This sets the aspect ratio. You can then scale from this.
<svg ... viewbox="0 0 100 50">

Some reading to help you perhaps understand:
You need to use the “viewbox” attribute. This sets the aspect ratio. You can then scale from this.
<svg ... viewbox="0 0 100 50">

Some reading to help you perhaps understand: