Published
Edited
Aug 9, 2018
Insert cell
Insert cell
Insert cell
html`
<div class="container"></div>
`
Insert cell
// Globally change the Observable Page
d3.selectAll("p").style("color", "pink"),
d3.select("body").style("background", "gray")
Insert cell
{
// Be selective on specific parts
var body = d3.select(".container")
var div = body.append("div")
div.html("Hello, world!")
}
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