Skip to content

d3gl

GPU-accelerated rendering for d3 — SVG, Canvas2D, and WebGL2 from one API.

Three backends, one API

Switch between SVG, Canvas2D, and WebGL2 without touching your drawing code.

Familiar d3 contexts

Context-driven d3 generators (geoPath, d3-shape, d3-hierarchy links) render unchanged.

Project & tessellate once

Geometry is uploaded once; pan/zoom is a single transform-matrix uniform.

GPU recolor & picking

Recolor or show/hide is one texture write; hit-testing is GPU-accelerated.

GeoJSON & maps

Project any GeoJSON with any d3 projection and render the result on the GPU.

Publication export

Export crisp PNG and SVG straight from the same scene.