Public
Edited
Jul 20, 2023
Insert cell
Insert cell
Insert cell
maplibregl = require("maplibre-gl@2.1.9")
Insert cell
Insert cell
Minnesota = {
const container = yield html`<div style="height:800px;">`;
const map = (container.value = new maplibregl.Map({
//interactive: false,
boxZoom: true,
pitch: 0,
bearing: 0,
maplibreLogo: true,
container,
center: [-93.30459778979497, 47],
zoom: 6,
style: "https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",
scrollZoom: true
}));

map.addControl(new maplibregl.NavigationControl());
}
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