Public
Edited
Jun 30, 2023
Insert cell
Insert cell
{
const palette = [
"#227EFF",
"#AD5CFF",
"#00B8B8",
"#FA822D",
"#F252AF",
"#1EB8F5",
"#108A44",
"#F4B106",
"#5241A8",
"#95CF21",
"",
// nodeColor
"rgb(34,126,255)",
// edgeColor
"rgb(153, 173, 209)"
];
const container = document.createElement("div");
palette.forEach((color) => span(container, color));

return container;
}
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