Published
Edited
Mar 4, 2021
7 forks
3 stars
Also listed in…
vector tiles
leaflet
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof rows = Table(geojson.features)
Insert cell
rows
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
geojson = queryOverpassGeoJSON(query)
Insert cell
function queryOverpassGeoJSON(query) {
mutable report = md`Please wait...`;
return new Promise((resolve, reject) => {
queryOverpass(query, (error, data) => {
if (error) {
mutable report = error;
reject(error);
} else {
mutable report = md`${data.features.length} features returned.`;
resolve(data);
}
});
});
}
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