labelPadding parameter adjusts how far the labels are from the border.
The diagram on the left uses the default 0.05 and the one on the right uses 0.1.
Modified http://vizjs.org/viz.v1.1.0.min.js to a secure url
https://d3js.org/d3.v4.min.js
https://vizjs.org/viz.v1.1.0.min.js