Public
Edited
May 11, 2023
Insert cell
Insert cell
map = {
const container = html`<div style="height:600px;">`;
yield container;
const map = L.map(container).setView([35.0844, -106.6504], 12);
L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
attribution: "&copy; <a href=https://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors"
}).addTo(map);

L.geoJSON(artgeo, {
onEachFeature: function(feature, layer) {
layer.bindTooltip(feature.properties.Name);
}
}).addTo(map);
}
Insert cell
transformJson = function () {}
Insert cell
fetchLocations = () => fetch(https://data.cabq.gov/community/art/publicart/PublicArtREST)
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