Public
Edited
Nov 24, 2022
Insert cell
Insert cell
db = {
// Observable’s DuckDB client loads DUckDB (and its WASM file) async
const db = await DuckDBClient.of();

// This query loads the data straight from GitHub, and is also async
await db.query(
`
CREATE TABLE players
AS SELECT *
FROM parquet_scan(['https://llimllib.github.io/nba_data/players_2023.parquet'])
`
);

return db;
}
Insert cell
Insert cell
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