Public
Edited
Mar 14
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
function wait(fn) {
const start = performance.now();
const result = fn();
return result;
}
Insert cell
centerPoint = turf.center(geoJson.value.geometry).geometry.coordinates;
Insert cell
geometry = geoJson.value.geometry;
Insert cell
config = ({
lat: centerPoint[1],
lng: centerPoint[0],
zoom: 14,
});
Insert cell
Insert cell
Insert cell
Insert cell
coordinates = location.value;
Insert cell
locationSearchResult = coordinates !== null ? locationSearch(coordinates, h3Resolution, geometry, polygonIndex.result) : null;
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
locationNijoCastleOutside = ({
lng: 135.74607065452722,
lat: 35.01693507063425
});
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
turf = require("@turf/turf@7.2")
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