---
title: "Local Analytics Doesn’t Need a Database Server"
description: "SQLRooms, an open-source React toolkit extracted from Flowmap City, builds analytics apps on DuckDB running in the browser via WebAssembly or embedded in desktop apps, so no remote database server is needed."
url: "https://swe.quest/articles/local-analytics-doesn-t-need-a-database-server-3fa900323ef7de2e"
canonical: "https://duckdb.org/2026/11/12/local-analytics-without-a-database-server.html"
source: "DuckDB"
published: "2026-11-12"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["analytics","local-first","geospatial","webassembly","frontend"]
---

# Local Analytics Doesn’t Need a Database Server

A post on [DuckDB](https://swe.quest/sources/duckdb.md), published 2026-11-12, 6 min read, Case study. Original: [https://duckdb.org/2026/11/12/local-analytics-without-a-database-server.html](https://duckdb.org/2026/11/12/local-analytics-without-a-database-server.html)

## Summary

SQLRooms, an open-source React toolkit extracted from Flowmap City, builds analytics apps on DuckDB running in the browser via WebAssembly or embedded in desktop apps, so no remote database server is needed. Foursquare Spatial Desktop uses it with kepler.gl and generates map tiles on demand from local data. Its tiling query uses DuckDB's spatial extension to select features near each tile, reservoir-sample dense tiles, simplify geometry by zoom level and encode Mapbox Vector Tiles. Cosmograph runs DuckDB-Wasm in a background worker to explore graphs with millions of edges, and SQLRooms adds AI agents that generate SQL while the source data stays local.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Local-first & sync](https://swe.quest/tags/local-first.md) (Architecture & design)
- [Maps & geospatial](https://swe.quest/tags/geospatial.md) (Domains)
- [WebAssembly](https://swe.quest/tags/webassembly.md) (Languages)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- DuckDB ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- web map tiles

## Keywords

DuckDB, DuckDB-Wasm, SQLRooms, Foursquare Spatial Desktop, kepler.gl, deck.gl, Mapbox Vector Tiles, Cosmograph

## Related posts

- [Visualizing BlueSky data with Evidence.dev](https://swe.quest/articles/visualizing-bluesky-data-with-evidence-dev-2a64305ef654ddec.md): ClickHouse · 2025-01-15 · Medium · 6 min read · Analytics & OLAP, SQL
  Evidence.dev builds dashboards from SQL and markdown, running queries at build time rather than at request time.
- [Introducing the SQL Console on Datasets](https://swe.quest/articles/introducing-the-sql-console-on-datasets-89aa5e3e1204ae2f.md): Hugging Face · 2024-09-17 · Medium · 5 min read · SQL, Analytics & OLAP, WebAssembly, Model training
  Hugging Face Hub datasets now have a one-click SQL Console that runs DuckDB WASM entirely in the browser against each dataset's Parquet files, with views created per split and config.
- [DuckDB: analyze 50,000+ datasets stored on the Hugging Face Hub](https://swe.quest/articles/duckdb-analyze-50-000-datasets-stored-on-the-hugging-face-hub-05ca0d0e06164c0a.md): Hugging Face · 2023-06-07 · Medium · 3 min read · Analytics & OLAP, SQL, Python
  Every public dataset on the Hugging Face Hub is now automatically converted to Parquet by the dataset viewer and can be queried with SQL through DuckDB.
- [postgres.new: In-browser Postgres with an AI interface](https://swe.quest/articles/postgres-new-in-browser-postgres-with-an-ai-interface-55583d716a34d5b8.md): Supabase · 2024-08-12 · Medium · 11 min read · PostgreSQL, WebAssembly, LLMs, AI agents, Browsers
  database.build (formerly postgres.new) runs unlimited Postgres databases entirely in the browser via PGlite, a WASM build of Postgres, paired with GPT-4o that has full autonomy over the disposable database.
- [From Spreadsheets to DuckLake: A Data Engineer's Road to DuckDB](https://swe.quest/articles/from-spreadsheets-to-ducklake-a-data-engineer-s-road-to-duckdb-befcab104cb9bbfa.md): DuckDB · 2026-10-29 · Medium · 6 min read · Analytics & OLAP, Data pipelines, Databases, SQL
  Data engineer Matt Martin traces his path from copy-pasting Excel reports through Teradata, BigQuery and heavyweight Spark clusters to DuckDB, which let him query local CSVs, S3 Parquet files and Iceberg tables in a few lines of SQL with no JVM or cluster.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
