Published
Edited
Apr 8, 2022
Insert cell
Insert cell
Insert cell
{
const output = html`<textarea readonly rows=10 cols=80 placeholder=Output>`;
output.value = input
.split("\n")
.map((l) => (l ? l[0].toLowerCase() + l.slice(1) : l))
.join("\n");
return output;
}
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