These methods can be used to set the width and height of the graph.
The example on the left is using the default width 400 and height 600. The example on the right has width=300 and height=500.
For other options and examples, check VizJS
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