Public
Edited
Dec 25, 2024
Insert cell
Insert cell
import { DuckDBClient } from "@observablehq/duckdb"
Insert cell
duckdb = import("https://cdn.jsdelivr.net/npm/@duckdb/duckdb-wasm/+esm")
Insert cell
db = await DuckDBClient.of({}, { extensions: ["spatial", "h3"] })
Insert cell
data = db.sql`
SELECT *
FROM read_parquet('https://static.data.gouv.fr/resources/bureaux-de-vote-et-adresses-de-leurs-electeurs/20230626-135723/table-adresses-reu.parquet')
LIMIT 100
`
Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
db
FROM duckdb_extensions() WHERE loaded;
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