Published
Edited
Dec 23, 2020
3 stars
Insert cell
Insert cell
svg`<svg width=${width} height=${height} style="background:gray">
${Array.from({ length: 1 + width / 40 }, (_, i) =>
Array.from(
{ length: 1 + height / 40 },
(_, j) =>
svg`<rect width=32 height=32 x=${i * 40} y=${j *
40} fill=black /><circle cx=${i * 40 - 4} cy=${j * 40 -
4} r=5 fill=white>`
)
).flat()}
`
Insert cell
svg`<svg width=${width} height=${height}>
${Array.from({ length: 1 + width / 40 }, (_, i) =>
Array.from(
{ length: 1 + height / 40 },
(_, j) => svg`<rect width=33 height=33 x=${i * 40} y=${j * 40} fill=black>`
)
).flat()}
`
Insert cell
import { height } from "@fil/height"
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