Plot.plot({
width: 1000,
height: 2000,
y: {label: null},
x: {axis: "top", tickFormat: "s"},
color: {scheme: "Rainbow", legend: "ramp", width: 600, label: "Ranking metric"},
marks: [
Plot.barX(tidy, {
y: "university",
x: "score",
fill: "metric",
sort: {color: null, y: "-x"},
})
],
marginLeft: 500,
style: "font-size: 20px; color: white; background: #222222"
})