Plot.plot({
inset: 10,
grid: true,
x: { label: "Variedad de tuiteros →" },
y: { label: "Cantidad de retuits" },
marks: [
Plot.line(variedadSemanal, {
x: "variedad",
y: "cantidad",
curve: "catmull-rom",
marker: true
}),
Plot.text(variedadSemanal, {
x: "variedad",
y: "cantidad",
text: (d) => `${d3.timeFormat("%d-%b")(d.semana)}`,
dy: -8
})
]
})