Plot.plot({
padding: 0,
grid: true,
x: {axis: "top", label: "Season"},
y: {label: "Episode"},
color: {type: "linear", scheme: "PiYG"},
marks: [
Plot.cell(simpsons, {x: "season", y: "number_in_season", fill: "imdb_rating", inset: 0.5}),
Plot.text(simpsons, {x: "season", y: "number_in_season", text: (d) => d.imdb_rating?.toFixed(1), fill: "black", title: "title"})
]
})