Plot.plot({
inset: 8,
width: 1000,
margin: 40,
grid: true,
color: {
legend: true,
},
marks: [
Plot.dot(data_unproductive, {x: "date", y: "percents", stroke: "green"}),
Plot.linearRegressionY(data_unproductive, {x: "date", y: "percents", stroke: "red"})
]
})