Plot.plot({
grid: true,
title: "Cluster users publications per year",
marginLeft: 70,
marks: [
Plot.barX(justnewer, {
x: "count",
y: "year",
sort: { y: "x", reverse: false }
}),
Plot.text(justnewer, {
x: "count",
y: "year",
text: "count",
dx: 10
}),
Plot.ruleX([0])
]
})