Public
Edited
Jan 22
Insert cell
Insert cell
Insert cell
interpolator = geometric.polygonInterpolate(polygon)
Insert cell
Insert cell
Insert cell
Insert cell
polygon = polygons[selection.toLowerCase()]
Insert cell
point = interpolator(i)
Insert cell
polygons = ({
random: geometric.polygonRandom(sides, area, [size / 2, size / 2]),
regular: geometric.polygonRegular(sides, area, [size / 2, size / 2])
})
Insert cell
Insert cell
area = size ** 2 / 3
Insert cell
size = Math.min(width, 500)
Insert cell
Insert cell
geometric = require("geometric@2.3.3")
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