Published
Edited
Oct 10, 2021
1 star
Insert cell
Insert cell
borders_of_ukraine = fetch("https://s3.amazonaws.com/geoblaze/ukraine.geojson").then(response => response.json())
Insert cell
geoblaze = require('geoblaze')
Insert cell
georaster = geoblaze.load("https://s3.amazonaws.com/geoblaze/spam2005v2r0_production_wheat_rainfed.tiff")
Insert cell
georaster.toCanvas({ height: 300, width: 500 })
Insert cell
sums = geoblaze.sum(georaster, borders_of_ukraine)
Insert cell
hectares_of_rainfed_wheat = sums[0].toLocaleString()
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more