Public
Edited
May 2, 2024
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot.plot({
x: { tick: 10 },
y: { tick: 10 },
marks: [
Plot.cell(chessBwTally, Plot.bin({
fill: "sum",
thresholds: 20
}, {
x: "white_rating",
y: "black_rating",
fill: "winner_val"
})),
Plot.text(chessBwTally, Plot.bin({
// fill: "sum",
thresholds: 20
}, {
x: "white_rating",
y: "black_rating",
// fill: "none",
text: "winner_val"
})),
],
color: { scheme: "Greys", reverse: true, legend: true },
width: 800,
height: 800
})
Insert cell
Insert cell
Insert cell
chessRaw
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more