A visualization framework is trending on GitHub this week, serving the fastest-growing data type of the decade: anything with a location.
Mapping a million points is not a charting problem - it is a graphics problem. The techniques that make it work are worth understanding, because they generalize.
Why ordinary charts fail at map scale
A million points on a scatter chart means a million draw calls and a canvas that redraws everything per frame. GPUs solve this by drawing everything at once through WebGL.
Instancing is the trick: describe one circle geometry, then tell the GPU to draw it a million times with different positions - one call, not a million.
The coordinate problem
Earth is curved; screens are flat. Every layer must project latitude-longitude into screen space - and handle the distortion that projection creates at different zooms.
| Concern | The issue | The standard answer |
|---|---|---|
| Projection | Curved earth to flat screen | Web Mercator for web maps |
| Distance truth | Mercator distorts scale | Geodesic calculations when measuring |
| Zoom behavior | Detail changes with scale | Level-of-detail switching |
| Picking | Which point did I click? | GPU-encoded picking colors |
Aggregation: millions to thousands
Sometimes the answer is not drawing everything. Hexagonal or grid aggregation bins points into cells, so visual density survives while the drawn object count collapses.
- Hexbin layers turn point clouds into density maps.
- Heatmaps communicate intensity without individual dots.
- Aggregation runs on GPU for interactivity.
- Click a bin to drill into its points on demand.
The layer vocabulary - points, arcs, polygons, heatmaps, 3D tiles - is what makes the framework a language rather than a library.
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.
The bigger picture
Geospatial data grew with every phone carrying GPS. Visualization had to reinvent itself around scale, and GPU layers were the answer.
So this week’s trending framework is the current state of that reinvention: maps that stay interactive at city scale, because the drawing moved to the graphics card.
The bottom line: GPU instancing draws millions of marks in one call. Projection and distortion are permanent map-math concerns. Aggregation trades individual points for readable density. A layer vocabulary turns visualization into composition.
Key takeaways
- GPU instancing draws millions of marks in one call.
- Projection and distortion are permanent map-math concerns.
- Aggregation trades individual points for readable density.
- A layer vocabulary turns visualization into composition.
Quick answers
Why hexagons for aggregation?
Hexagons tessellate evenly and neighbors are equidistant, avoiding the edge artifacts grids suffer - which matters for density comparisons.
Why do my points cluster wrongly near poles?
Web Mercator stretches areas at high latitudes; switch projections or aggregate geodesically when polar accuracy matters.
How does clicking pick one of a million points?
Picking encodes each object’s ID into a color buffer, reads back the pixel under the cursor, and decodes the ID.
One thing to do tonight
Tonight, open any public dataset with locations and try rendering it raw. The wall of points you see is the exact problem the layer vocabulary exists to solve.