Published
Edited
Jan 19, 2022
36 stars
Insert cell
Insert cell
Insert cell
html`<p>i love ${"<b>bold</b>"} text</p>`
Insert cell
htl.html`<p>i love ${"<b>bold</b>"} text</p>`
Insert cell
Insert cell
html`hello ${null} world`
Insert cell
htl.html`hello ${null} world`
Insert cell
Insert cell
mutable clicks = 0
Insert cell
html`<button onclick=${() => ++mutable clicks}>click me</button>`
Insert cell
htl.html`<button onclick=${() => ++mutable clicks}>click me</button>`
Insert cell
Insert cell
viewof disabled = Inputs.toggle({ label: "Disabled" })
Insert cell
html`<button disabled=${disabled}>Can’t click me</button>`
Insert cell
htl.html`<button disabled=${disabled}>Can’t click me</button>`
Insert cell
Insert cell
html`<span style=${{ background: "gold", fontWeight: "bold" }}>whoa</span>`
Insert cell
htl.html`<span style=${{ background: "gold", fontWeight: "bold" }}>whoa</span>`
Insert cell
Insert cell
html`
<div>hello</div>
`.outerHTML
Insert cell
htl.html`
<div>hello</div>
`.outerHTML
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more