How do I scale a group/symbol containing SVG objects?

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:

1 Like