Direct answer: deck.gl draws million-point maps in a browser by uploading geometry to the GPU once and letting the graphics chip color millions of points per frame in parallel. A CPU drawing dots one by one struggles past tens of thousands. Layers handle projection, aggregation, and interaction for you.

Open a city dataset with a million taxi pickups in a normal charting library and the tab either crawls or dies. Open the same data on a deck.gl map and it pans at full frame rate. The difference is where the drawing happens, and that difference is the whole story of GPU data visualization.

The trending query visgl/deck.gl is trending on GitHub for TypeScript in late November 2026, with the repository (github.com/visgl/deck.gl) collecting stars from mapping and data teams. The library has been around for years, and the attention tracks a durable shift: visualization moving from drawing instructions to data upload.

Two ways to draw a million dots

CPU rendering draws shapes sequentially: one dot, then the next. Around tens of thousands of marks the frame budget is gone, and the map stops keeping up with the mouse. No amount of clever JavaScript changes the arithmetic of one core, one mark at a time. The bottleneck is the loop, since each mark costs its own share of the frame budget.

GPU rendering uploads the positions once and lets the graphics chip color millions of points per frame in parallel. The chip carries thousands of small cores built for exactly this: the same tiny program, run on every point at the same time. deck.gl manages the upload, the projection onto map tiles, and the redraw as you pan. When zoom changes the projection, screen positions are recomputed each frame, and the source records are never re-uploaded.

CPUone dot at a timeGPUall points, every frametens of thousands versus millions per frame

Layers turn records into pixels

deck.gl organizes rendering as layers. A scatterplot layer maps records to points, a trips layer draws moving paths, and a hexagon layer bins points into a hexagonal grid. Each layer knows how to project its data onto the map tiles underneath, so latitude and longitude go in and screen positions come out.

The layer list is also the interaction model. Picking, tooltips, and filtering attach to layers, so clicking a hexagon can query the records inside it. Data stays connected to what is on screen, which is what separates a visualization library from a drawing routine.

missedyour Brain mapquiz yourselfmasteredWatch your weak spots turn green.

Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.

Open Brain - free

Aggregation makes the map a histogram

Aggregation layers show what visual analysis can be. Binning points into hexagons computes density on the GPU as you pan, so the map behaves like a live histogram: zoom out and the hexagons summarize, zoom in and they resolve back toward individual points. The map becomes the filter, and the histogram follows every drag.

That turns a map from a picture into a query surface. A fleet dashboard can watch thousands of vehicles aggregate into congestion clusters, and a climate visualization can bin a decade of readings into cells that recolor as the time slider moves. Flight trackers, fleet dashboards, and climate visualizations all sit on this one technique: big data made physically navigable.

LayerInputWhat it shows
ScatterplotPoints with coordinatesRaw records as dots
HexagonPoints plus bin sizeDensity as a hexagonal grid
TripsPaths with timesMovement across a map
GeoJSONPolygons and linesBoundaries and shapes

Key takeaways

  • CPU rendering draws marks sequentially and struggles past tens of thousands.
  • GPU rendering uploads positions once and colors millions of points per frame in parallel.
  • deck.gl layers map raw records to GPU primitives and project them onto map tiles automatically.
  • Hexagon aggregation computes density during pans, making the map behave like a live histogram.
  • Flight trackers, fleet dashboards, and climate visualizations apply this one technique.

Quick answers

What is deck.gl?
An open-source TypeScript library for GPU-powered geospatial visualization in the browser, published under the visgl organization.

Why is it fast?
Geometry goes to the GPU once, and thousands of parallel cores draw every mark each frame.

What is a layer?
A component that maps your records to a visual form, such as points, hexagons, or trip paths.

Do I need WebGL knowledge?
The library handles shaders, projection, and tiling; you describe data and layers.

What are aggregation layers for?
Binning points into cells like hexagons, so density is computed and recolored while you pan.

One thing to do tonight

Find any public dataset with coordinates, a city bike-share feed works, and render it with a scatterplot layer on a scratch page. Watching a hundred thousand points pan smoothly teaches more than any benchmark table.