Public
Edited
Aug 7, 2024
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
const colorScale = cpc.colorScale([culori.rgb("black"), culori.rgb("white")]);
return colorScale
.consume(culori.differenceCiede2000(), 10)
.map(culori.formatHex);
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cpc = import("color-picking-compass@0")
Insert cell
culori = import("culori@4")
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