<!DOCTYPE html>
<html>
  <head>
    <title>Vega Barchart example</title>
    <meta charset="utf-8" />

    <!-- These scripts link to the Vega runtime -->
    <script src="https://cdn.jsdelivr.net/npm/vega@5"></script>
    <script src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>

    <!-- This is the script generated from Elm -->
    <script src="js/barchart.js"></script>
  </head>

  <body>
    <h2>Bar chart tutorial example</h2>
    <div id="barchart"></div>

    <script>
      // This function g