Public
Edited
Oct 30, 2024
Paused
Importers
23 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
window.screen
Insert cell
Insert cell
inspect(window.screen)
Insert cell
Insert cell
inspect(window.screen, {filter: false, sort: (a, b) => {
// a and b are arrays of key/value pairs.
const fa = typeof a[1] === "function";
const fb = typeof b[1] === "function";
return fb - fa || d3.ascending(a[0], b[0]);
}})
Insert cell
Insert cell
document.head
Insert cell
Insert cell
inspect(document.head)
Insert cell
// Disable all filtering, sort style to the top.
inspect(document.querySelector(".observablehq"), {filter: false, sort: (a, b, obj) => {
return (b[0] === "style") - (a[0] === "style") || d3.ascending(a[0], b[0])
}})
Insert cell
inspect(window.navigator)
Insert cell
Insert cell
inherited(html`<div>`)
Insert cell
// d3-array's InternMap
inherited(d3.group([], d=>d))
Insert cell
Insert cell
Insert cell
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