  range: 'okabe',
                domain: [-2047, 2047],
              },
            },
          })
          .then(redo_scale);
      });
    select('#date').on('input', function (a, b) {
      console.log(this, a, b);
      const date1 = new Date(1970, 0, this.valueAsNumber - 15);
      const date2 = new Date(1970, 0, this.valueAsNumber + 15);
      document.getElementById('datestring').innerHTML =
        date1.toDateString() + ' to ' + date2.toDateString();
      scatterplot
        .plotAPI({
       