Plot.plot({
color: {legend: true},
marks: [
Plot.line(data,Plot.windowY(5,{x:"Time", y:"Pressure bar 1", stroke:"#38322c"})),
Plot.line(data,Plot.windowY(5,{x:"Time", y:"Pressure bar 2", stroke:"#516067"})),
Plot.line(data,Plot.windowY(5,{x:"Time", y:"Pressure bar 3", stroke:"#c38d4f"})),
Plot.line(data,Plot.windowY(5,{x:"Time", y:"Pressure bar 4", stroke:"#a74a43"})),
Plot.line(data,Plot.windowY(5,{x:"Time", y:"Pressure bar 5", stroke:"#82ac7c"})),
Plot.line(data,Plot.windowY(5,{x:"Time", y:"Pressure bar 6", stroke:"#5e6b62"})),
Plot.text(data, Plot.selectLast(Plot.normalizeY({
x: "Time",
y: "Pressure bar 1",
z: "Pressure bar",
text: "Pressure bar 1",
textAnchor: "start",
dx: 3}))),
],
marginRight: 100,
width
})