window.addEventListener('DOMContentLoaded', function() {

  var linkedDataGraph = svgPanZoom('#linked-data-graph', {
    zoomEnabled: true,
    controlIconsEnabled: true
  });

});

window.addEventListener('load', function() {

  var linkedDataGraph = svgPanZoom('#linked-data-graph', {
    zoomEnabled: true,
    controlIconsEnabled: true
  });

});

Load svgPanZoom at the right time
Load svgPanZoom at the right time
