Public
Edited
Nov 2, 2023
Insert cell
Insert cell
Insert cell
Insert cell
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"
})
]
})
Insert cell
Insert cell
Insert cell
Insert cell
chroma = require("chroma-js")
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