Published
Edited
Jan 11, 2020
2 forks
Importers
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
input_data = {
let {Polygon, point} = Flatten;
let polygon1 = new Polygon([point(200,10), point(100, 300), point(400, 150), point(250, 10)]);
let polygon2 = new Polygon([point(450, 10), point(0, 150), point(300,300), point(600, 300)]);
return [polygon1, polygon2]
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
BooleanOp = require("@flatten-js/boolean-op")
Insert cell
Flatten = require("@flatten-js/core")
Insert cell
d3 = require("d3@5")
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