The viewBox attribute is defined by four parameters: Viewbox = ‘min-x, min-y, width, height’. The numbers are separated by whitespace and/or a comma
The viewbox parameter creates a virtual box within a Power Apps Image control
The intricacies of exactly how the virtual box is positioned within the image control is beyond the scope of this article – however, understanding the finer detail isn’t required to use SVGs in Power Apps. If the values of min-x and min-y are set to 0; and the value of width and height match the dimensions of the Image control, the Viewbox will overlay the Image control exactly. This also has the advantage that the Viewbox parameters are now specified in pixels
Now the Viewbox attribute has been defined, one or more shapes can be specified to exist inside it