Published
Edited
Dec 12, 2019
Importers
Insert cell
md`# Vesta Helper Functions`
Insert cell
vestaColors = function(){
let arr = [];
const c = function(specifier) {
var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;
while (i < n) colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
return colors;
}
const cols = c("009fe3fee9001c427ee73458ff862d512d6d"); //c("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf");
return cols;

}
Insert cell
vestaColors(6)
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