off',
      'TAKEOFFLOCATION',
      undefined, // no size field
      { draggable_labels: true, useColorScale: true }
    );
  });

  // Simple animation demonstration.

  let cycle = 0;

  const width = 600;
  function redo_scale() {
    const scale = scatterplot._renderer.aes.store.color.current.scale;
    const domain = scale.domain();
    const range = scale.range();
    select('#color-legend')
      .selectAll('div')
      .data(domain.slice(0, 15))
      .join('div')
      .attr('class', 'legend-div'