Published
Edited
Aug 31, 2022
Insert cell
Insert cell
Insert cell
owid
select distinct c.id, c.slug from charts c, json_each(c.config, '$.selectedEntityNames') where json_each.value is null
Insert cell
Insert cell
Inputs.table(results, {
format: {
slug: (slug) =>
html`<iframe src="https://ourworldindata.org/grapher/${slug}" loading="lazy" style="width: 100%; height: 400px; border: 0px none;"/>`,

id: (slug) => html`<a href="https://ourworldindata.org/grapher/${slug}">${slug}</a>`
}
})
Insert cell
Insert cell
owid = new DatasetteClient(
"https://owid-datasette-y43qr.ondigitalocean.app/owid"
)
Insert cell
//Inputs.table(variables.query(`SELECT * from variables ${whereClause}`))
Insert cell
import {DatasetteClient} from "@ambassadors/datasette-client"
Insert cell
import {debounce} from "@mbostock/debouncing-input"
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