Published unlisted
Edited
Sep 11, 2020
Insert cell
Insert cell
Insert cell
bboxTraining = {
//define bounding box [miny, minx, maxy, maxx] in degrees latitude and longitude
//Sample area in Nepal
let bboxArray = [26.6040521352746, 86.1658972164169, 26.8602670933179 ,86.6748399415154];
return bboxArray;
}
Insert cell
Insert cell
previousJson = {
try {
return FileAttachment("previous_file.json").json();
}
catch(err) {
return {
type:"FeatureCollection",
features:[]
};
}
}
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
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
axios = require('https://bundle.run/axios@0.18.0')
Insert cell
d3 = require("https://d3js.org/d3.v5.min.js")
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