Public
Edited
Feb 20, 2023
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
topojson = require('topojson')
Insert cell
Insert cell
cantons = topojson.feature(topojsonCH, topojsonCH.objects.cantons)
Insert cell
Insert cell
Insert cell
topojson_VD_FR = topojson.topology({VD, FR })
Insert cell
Insert cell
mesh = topojson.mesh(topojson_VD_FR)
Insert cell
Insert cell
Insert cell
meshInterior = {
const topo = topojson.topology({ les_deux: { type: 'FeatureCollection', features: [VD, FR] } })
return topojson.mesh(topo, topo.objects.les_deux, (a, b) => a !== b)
}
Insert cell
Insert cell
Insert cell
union = topojson.merge(topojson_VD_FR, [topojson_VD_FR.objects.VD, topojson_VD_FR.objects.FR])
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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