Open Source Libraries for 200 FPS In-Browser Data Visualization
summary
Live demos show interactive slicing of 5–10 million rows at up to 200 frames per second by running SQL in the browser with DuckDB compiled to WebAssembly inside a web worker, reading Parquet from S3/R2 and exchanging Apache Arrow payloads. Mosaic + VGplot generate declarative visuals while the coordinator issues SQL that uses pixel-aware M4 downsampling and just-in-time precubing so single-pixel moves hit ~5 ms and TPCH-style queries average ~73 ms; example dataset sizes ~170 MB.
AI-written summary · about
chapters (13)
- 0:00Introduction and motivation
- 1:21Problem with slow data interaction
- 3:26Live demo of 5M row visualization
- 5:33Demo of 10M row airline data
- 6:37How Mosaic achieves 200 FPS
- 9:02Serverless data loading with Parquet
- 10:24Apache Arrow for efficient data
- 10:47DuckDB for in-browser analytics
- 11:49Secret sauce: pixel-aware plotting
- 12:53Secret sauce: just-in-time cubing
- 13:57DuckDB performance benchmarks
- 15:20Preloading data for instant interaction
- 16:25Conclusion and key takeaways
