ggplot-rs (WASM) + DuckDB-Wasm spatial

loading…

DuckDB-Wasm (with the spatial extension) reads Natural Earth countries from a CDN and ST_AsTexts the geometry to WKT; ggplot-rs (compiled to WASM) renders the SVG. Hover a country for its name + value.

Large-N scatter (raster canvas backend)

100k points rendered to an RGBA buffer by the pure-Rust PixelBackend (no DOM node per point) and blitted with putImageData — where SVG would grind to a halt.