Published
Edited
Jan 20, 2022
Importers
Insert cell
# Require test

Insert cell
//vm = require('d3');
Insert cell
//import {AClass as aa} from 'http://localhost:8080/module.js';
Insert cell
//import {ramp as ra} from "@mbostock/color-ramp"
Insert cell
//ra
Insert cell
//ra(t => `hsl(${t * 360}, 100%, 50%)`)
Insert cell
function testSayu() {
return "test string";
}
Insert cell
c8y = require("https://unpkg.com/@c8y/client");
Insert cell
class testClass {
constructor(name) {
const aaa = c8y;
this.name = name;
this.c8z = c8y;
}
testPrint() {
return this.name;
}

useC8y() {
return this.c8z;
}
}
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