Svg Viewbox Do. In the inner SVG you can just specify a viewbox dimension and position for the coordinate for your plot. The first two numbers allow you to pan the SVG viewport horizontally or vertically giving it an appearance of some sort of inner offset relative to the origin 0 0.
The viewBox attribute defines the dimensions of the viewport canvas for an SVG. They have a lot of numbers and other strange stuff going on and the viewBox can be really strange. The viewBox attribute is used to specify the origin and dimensions of the user coordinate system of an SVG image.
It is used to scale the SVG element that means we can set the coordinates as well as width and height.
The viewBox provides us with very powerful capabilities. Sadly Illustrator is not one of them. SVG - Coordinate System. A boundary box in which only the inside elements are visible.