Introducing a new way to review your PRs.

Read the announcement

visgl / deck.gl

WebGL2 powered visualization framework

View on GitHub

23 documents · Updated Nov 20, 2026

overview

Knowledge Base updated: 2026-11-19

deck.gl knowledge base

Orientation

deck.gl is a TypeScript monorepo for GPU-accelerated data visualization. Its public package combines a core Deck runtime with reusable layer packages, optional extensions, and integrations for application and map hosts.

Critical runtime state lives in the core Deck, renderer, layer, and layer-state implementations. Layers translate application data and properties into GPU attributes and draw calls; views, controllers, and viewports establish coordinate systems and interaction behavior.

The monorepo also ships layer families for common, geospatial, aggregation, mesh, and experimental GPU-driven rendering; adapters for React, map engines, widgets, Jupyter, and Python; and packages for CARTO, JSON configuration, testing, and distribution.

flowchart TD
  App[Application configuration] --> Deck[Core Deck runtime]
  Deck --> Renderer[DeckRenderer]
  Deck --> Layers[Layer lifecycle and state]
  Deck --> Views[Views and viewports]
  Deck --> Controllers[Controllers and picking]
  Renderer --> GPU[GPU device and draw calls]
  Layers --> Standard[Standard layers]
  Layers --> Geo[Geospatial layers]
  Layers --> Aggregate[Aggregation and mesh layers]
  Layers --> Advanced[Experimental GPU layers]
  React[React integration] --> Deck
  Maps[Map renderer integrations] --> Deck
  Widgets[Widgets and Jupyter] --> Deck
  Python[Python bindings] --> Deck
  Carto[CARTO integration] --> Layers
  Extensions[Layer extensions] --> Layers
flowchart LR
  Props[Deck props and layer props] --> Update[Change detection]
  Update --> State[Layer state and attributes]
  State --> Render[DeckRenderer draw cycle]
  Render --> Pick[Picking pass]
  Pick --> Callbacks[Application callbacks]

Glossary

  • Deck: The central runtime object that owns rendering resources, view state, layers, and the redraw cycle.
  • Layer: A declarative visualization unit that manages props, state, attributes, and GPU draw calls.
  • Viewport: A view-specific coordinate and projection transform used for rendering and interaction.
  • Picking: The rendering-assisted identification of objects under an input position.
  • Layer extension: A composable capability that augments a layer without requiring a separate layer implementation.

Invariants

Routing table