Published
Edited
Feb 12, 2022
Also listed in…
Tips and Utilities
Insert cell
Insert cell
Insert cell
u = require('umbrellajs@3.3.1/umbrella.min.js').catch(() => window["u"])
Insert cell
fruits = ['apple', 'strawberry', 'pear', 'banana'];
Insert cell
list = u('<ul>').append(fruit => `<li>${ fruit }</li>`, fruits);
Insert cell
output = html`<div> <b> Some markup</b></div>`
Insert cell
{
u(output).append(list);
const link = u('<a>').addClass('main').attr({ href: '/hello' }).text("some link yo");
u(output).append(link);
}
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