moviePlot = Plot.plot({
y: {tickFormat: "s", grid: true},
x: {interval: 1, tickFormat: (num) => num.toString()},
color: {scheme: "observable10", legend: true},
grid: true,
marks: [
Plot.rectY(data, {y: "count" ,
x: "year_released", fill: "year_watched", fy: "year_watched"
}),
Plot.ruleY([0])
]
})