Public
Edited
Jan 17, 2023
Insert cell
Insert cell
delaunay = import("https://cdn.skypack.dev/d3-delaunay")
Insert cell
points = [
[0, 0],
[1, 1],
[2, 3],
[3, 2]
]
Insert cell
d = delaunay.Delaunay.from(points)
Insert cell
height = 400
Insert cell
// voronoi = delaunay.voronoi([0, 0, width, height])
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