Public
Edited
Sep 7, 2023
Importers
Insert cell
md`# Unit chart`
Insert cell
d3 = require('d3@5', "d3-scale-chromatic@^1.4.0")
Insert cell
data = {return {"label a": 15.5, "b stuff": 42.2, "c another label": slider}}
Insert cell
Insert cell
viewof slider = html`<input type=range min=0 max=100 step=0.25>`
Insert cell
Insert cell
unit_chart(data)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
munged = munge_data(get_d3_data(data), 10)
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