Center diagram within the SVG; as defined by width, height, and padding.

In the application that I am developing, the SVG width and height are defined for various charts. The venn.js library was creating a diagram that was often off to one side or at the top.

I added a graphical element around circles and then transformed the element to center within the defined width, height, and padding.