 {
      // Make parent element the viewport
      svg.parentElement.style.overflow = "hidden";
      svg.parentElement.classList.add("pan-zoom-viewport");
      svg.parentElement.style.minHeight = svg.parentElement.parentElement.style.minHeight;
      panzoom(svg);
    });
  });
</script>
<style type="text/css">
  .pan-zoom-viewport {
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.4);
    padding-bottom: 30px;
  }

  .pan-zoom-viewport::after {
    content: "Drag to mov