
    <script>
      // This function grabs the specifications from Elm (here called namedSpecs).
      // Replace 'HelloWorld' in line below with name of your Elm module when you write your own.
      Elm.Voronoi.init().ports.elmToJS.subscribe(function (namedSpecs) {
        for (let name of Object.keys(namedSpecs)) {
          vegaEmbed(`#${name}`, namedSpecs[name], { actions: false }).catch(
            console.warn
          );
        }
      });
    </script>
  </body>
</html>
