Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

1.2 KB
Raw Blame

Kepler.gl + DuckDB + Vite

A minimal example showing how to integrate Kepler.gl with the DuckDB plugin using Vite as the build tool.

Pre-requirements

1. Install Dependencies

Go to the examples/duckdb-vite directory and run:

touch yarn.lock && yarn

touch yarn.lock is required once to mark this directory as a standalone Yarn project, independent of the monorepo root.

2. Start the App

yarn dev

The app will be available at http://localhost:8082. Use the SQL button in the map controls (top-right) to open the DuckDB SQL editor.

Production Build

yarn build
yarn preview

Optional: local monorepo sources

USE_LOCAL_KEPLER=true yarn dev

Aliases @kepler.gl/* to ../../src/*/src so changes in the monorepo are picked up without publishing.

Notes

Same Vite interop notes as get-started-vite (turf rewind shim, parquet-wasm exclude, CJS pre-bundle includes). Port is 8082 so it can run alongside get-started-vite on 8081.