perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.

What is perspective?

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.

Overview of perspective

What it is

Perspective is an open-source data grid, pivot table and charting component for large, real-time and streaming datasets. It is backed by a high-performance streaming query engine that runs in-browser via WebAssembly or server-side in Python, Node.js and Rust, or delegates to an existing database.

Key features

  • A data-reactive UI packaged as a Custom Element with drag-and-drop query and layout configuration. Includes a virtual-scrolling, editable data grid, WebGL charting engine with 15+ chart types, tile-based geographic maps, full theme support, and React bindings.
  • A fast, memory-efficient streaming query engine written in C++ and compiled for WebAssembly (including a 64-bit memory64 build for in-browser datasets larger than 4GB, and support for paging columns to disk via OPFS in the browser or memory-mapped files natively), Python and Rust. Tables update incrementally and views tick in real time, with reactive joins across tables, a columnar expression language based on ExprTK, and read/write/streaming support for Apache Arrow, CSV and JSON.
  • A symmetric client/server architecture — the same Client API connects to an engine in-process, in a Web Worker, or remotely over WebSocket, with server bindings for Python (aiohttp, Starlette, Tornado), Node.js and Rust. Datasets can be mirrored to the browser for fluid interaction or virtualized server-side, streaming only what's visible.
  • Virtual servers that run Perspective's UI directly on external engines like DuckDB, ClickHouse, PostgreSQL and Polars, translating view configurations into native queries — no ETL or data copy required.
  • A Jupyter widget built on anywidget and a Python client library for interactive data analysis in JupyterLab and other notebook environments.

Use cases

  • Building user-configurable reports, dashboards, notebooks and embedded analytics applications.
  • Handling large, real-time and streaming datasets with incremental updates and real-time view updates.
  • Interactive data analysis in Jupyter notebooks with a Python client library and widget.
  • Server-side virtualization with external databases like DuckDB, ClickHouse, PostgreSQL, and Polars, avoiding data duplication.

Getting started

See the repository README for installation and quick-start instructions.

License and pricing

Licensed under Apache-2.0. Open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/perspective-devperspective.svg)](https://yunodb.com/tools/perspective-devperspective?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/perspective-devperspective?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/perspective-devperspective.svg" alt="Featured on YunoDB" height="20"></a>