Public
Edited
Nov 12, 2020
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
map = new mapboxgl.Map({
container,
style: 'https://gist.githubusercontent.com/hubgit/0fa58c7613ce12340c40778c8b22933e/raw/af0770438006c787c5afaca623189eec294bb440/mapbox-style-contours-only.json',
center,
zoom: 14
})
Insert cell
shading = map.on('load', () => {
map.addSource('dem', {
type: 'raster-dem',
url: 'mapbox://mapbox.terrain-rgb'
})
map.addLayer({
id: 'hillshading',
source: 'dem',
type: 'hillshade'
});
})

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