observable-framework-lib-mosaic

Installation
SKILL.md

Library: Mosaic vgplot

Observable Framework documentation: Library: Mosaic vgplot Source: https://observablehq.com/framework/lib-mosaic

Mosaic is a system for linking data visualizations, tables, and inputs, leveraging DuckDB for scalable processing. Mosaic includes an interactive grammar of graphics, Mosaic vgplot, built on Observable Plot. With vgplot, you can interactively visualize and explore millions — even billions — of data points.

The example below shows the pickup and dropoff locations of one million taxi rides in New York City from Jan 1–3, 2010. The dataset is stored in a 8MB Apache Parquet file, generated with a data loader.

${maps}

${histogram}

The views above are coordinated: brushing a time window in the histogram, or a region in either map, will filter both maps. What spatial patterns can you find?

Mosaic vgplot is available by default in Markdown as vg and is backed by the default DuckDB client that is configured using SQL front matter. If you would prefer to initialize Mosaic yourself, you can do something like:

Installs
3
First Seen
Feb 28, 2026
observable-framework-lib-mosaic — spqw/skill-observable-framework