Public
Edited
May 13, 2024
Insert cell
Insert cell
mapTiles = FileAttachment("map.json").json()
Insert cell
sprites = FileAttachment("spritesheet.png").url()
Insert cell
{
return html`<svg width="16" height="16" viewbox="0 29 16 16" > <image href=${sprites} width=${mapTiles.mapWidth * 8} height=${mapTiles.mapHeight*8} x=${0} y=${0} /> </svg>`
}
Insert cell
{
return html`<svg></svg>`
}
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