)
      .text((d) => d)
      .style('background-color', (d) => scale(d));
  }
  first_draw.then(() => {
    const holder = select('#left-overlay');
    const buttons = holder
      .selectAll('button')
      .data([
        'MILSERVICE',
        'PERIODOFDAY',
        'UNIT',
        'GEOZONE',
        'AIRFORCEGROUP',
        'TGTTYPE',
        'MFUNC_DESC',
        'TAKEOFFLOCATION',
      ]);
    redo_scale();
    buttons
      .enter()
      .append('div')
      .style('display', 'flex')
      .style('