Plot.plot({
style: "overflow: visible;",
y: { grid: true },
marks: [
Plot.ruleY([0]),
Plot.lineY(stocks_rotated, { x: "Date", y: "AAPL", stroke: "red" }),
Plot.lineY(stocks_rotated, { x: "Date", y: "GOOG", stroke: "blue" }),
Plot.lineY(stocks_rotated, { x: "Date", y: "IBM", stroke: "green" }),
Plot.lineY(stocks_rotated, { x: "Date", y: "AMZN", stroke: "orange" })
]
})