Public
Edited
Mar 5, 2024
Fork of Tile study
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
topojson = require("topojson-client@3")
Insert cell
d3 = require("d3-geo@2", "d3@6", "d3-tile@1")
Insert cell
Insert cell
worldUrl = (x, y, zoom) => `https://tile.osm.org/${zoom}/${x}/${y}.png`
Insert cell
borders = d3.json("https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json")
.then(topology => topojson.feature(topology, topology.objects.countries))
Insert cell
bikeCorridorsConstruction = FileAttachment("CARRIL_BICI_CONSTRUCCIO.geojson").json()
Insert cell
bikeCorridors = FileAttachment("CORREDORS_BICI.geojson").json()
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