Plot.plot({
title: "Combinations",
subtitle: "Subtitle to follow with additional context",
caption: "Figure 1. A chart with a title, subtitle, and caption.",
height: 24000,
y: { padding: 0.5 },
x: { axis: null, padding: 0 },
width: width,
marks: [
Plot.cell(combinations, {
x: (d) => d[1],
y: (d) => d[0],
fill: (d) => d[3]
}),
Plot.text(combinations, {
x: (d) => d[1],
y: (d) => d[0],
text: (d) => d[4],
fill: (d) => d[5],
title: "title"
})
]
})