Try live | Github repo | Open in StackBlitz
This example is based on the original demo app by Gjore Milevski.
An example showcasing integration with deck.gl and @geoarrow/deck.gl-layers libraries for geospatial data visualization combined with the UWData Mosaic package for performant cross-filtering.
The architecture uses Mosaic’s global Coordinator to manage state between linked views using SQL predicates. Because DuckDB-WASM returns standard Arrow tables, the WKB output is converted to GeoArrow point vectors before being passed to the GeoArrowScatterplotLayer for rendering. Ideally, this function can be replaced with a proper GeoArrow Table constructor in the future once this feature request is implemented.
To create a new project from the deckgl-mosaic example run this:
npx degit sqlrooms/examples/deckgl-mosaic my-new-app/npm install
npm run dev