Published
Edited
Jan 15, 2019
1 star
Insert cell
Insert cell
Insert cell
polygon = [
[80, 220],
[80, -220],
[-50, -220],
[-80, 220]
]
Insert cell
d3.polygonContains(polygon,[80,220])
Insert cell
d3.polygonContains(polygon,[79,219])
Insert cell
d3 = require('d3')
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