Public
Edited
Dec 18, 2022
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
horzScale = d3.scaleLinear([0, d3.max(dataset, (d)=>d.Amount)], [0, width/2])
Insert cell
vertScale = d3.scalePoint(dataset.map((d)=>d.Stage), [0, height])
Insert cell
vertScale2 = d3.scaleBand(dataset.map((d)=>d.Stage), [0, height])
Insert cell
area = d3.area().y((d)=>vertScale(d.Stage)).x0(0).x1((d)=>horzScale(d.Amount)).curve(d3.curveLinear)
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