w.removeTick(dataPoint.x.value);
  chartView.rightAxis.view.removeTick(dataPoint.y.value);
});
plotView.modifyMood(swim.Feel.default, [[swim.Feel.primary, 1]]);

const cycles = 2;
const samples = 100;
for (let i = 0, n = cycles * samples; i <= n; i += 1) {
  const x = i * 2 * Math.PI / samples;
  const y = Math.sin(x);
  const dataPointView = new swim.DataPointView(x, y).set({
    opacity: i === 0 ? 0.75 : i === n ? 0.25 : void 0,
  });
  plotView.insertDataPoint(dataPointView);
}

containerView.appendChild