Published
Edited
Jan 15, 2022
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Animal = {
const res = await fetch(gistURL);
const newBlob = new Blob([(await res.text())],{type: 'text/javascript'});
let Animal = (await import(URL.createObjectURL(newBlob))).Animal;
return Animal;
}
Insert cell
myAnimal = {
let myAnimal = new Animal("floopy", "male")
return myAnimal;
}
Insert cell
myAnimal.label
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