{
return html`<div style="overflow:scroll">
${Plot.plot({
width: 8000,
marginLeft: 50,
style: {maxWidth: "8000px", overflow: "scroll"},
x: {
axis: "top",
},
marks: [
Plot.cell(data, {
x: d => d3.utcDay.count(d3.utcYear(d.date), d.date),
y: d => d.name,
fill: d => (d.isVacation ? "orange" : "red"),
inset: 0.5,
}),
Plot.text(data, {
x: d => d3.utcDay.count(d3.utcYear(d.date), d.date),
y: d => d.name,
text: d => d3.utcFormat('%d')(d.date),
fill: "black"
}),
]
})}
</div>`;
}