d3-seating-chart
d3-seating-chart copied to clipboard
Allow Custom SVG Margins
Currently, this library will attempt to apply a margin of 20px to each side of the attached SVG and scale accordingly. This is fine when your SVG is rather large. However, when attempting to render an SVG that was only 75px in height, this resulted in a rather drastic ratio change:
Expected:
Result After Ratio Change:
It would be nice to have the ability to customize that margin size in order to avoid scaling issues such as this one.