How to hide/remove Plot output outside frame

Hi,

Maybe I am missing something obvious here. In this chart, I want to show only the line inside the frame. How do I hide the outside-of-the-frame output?

Try adding the option clip: true to the mark.

Plot.lineY(aapl, {x: "Date", y: "Close", clip:true})

See Marks | Observable Plot

1 Like