benfred/venn.js — pull request #15 by mpelikan (2014-03-02 19:21:56+00:00)
Title: 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.