VegaFusion: Automatic Server-Side Scaling for Interactive Vega Visualizations

Nicolas Kruchten, Jon Mease, Dominik Moritz
8/13/2022
cs.HC

Official code: vega/vegafusion (425 stars, Rust, BSD-3-Clause, Rust, last commit 2026-03-23).

Abstract

The Vega grammar has been broadly adopted by a growing ecosystem of browser-based visualization tools. However, the reference Vega renderer does not scale well to large datasets (e.g., millions of rows or hundreds of megabytes) because it requires the entire dataset to be loaded into browser memory.

Show full abstract

We introduce VegaFusion, which brings automatic server-side scaling to the Vega ecosystem. VegaFusion accepts generic Vega specifications and partitions the required computation between the client and an out-of-browser, natively-compiled server-side process. Large datasets can be processed server-side to avoid loading them into the browser and to take advantage of multi-threading, more powerful server hardware and caching. We demonstrate how VegaFusion can be integrated into the existing Vega ecosystem, and show that VegaFusion greatly outperforms the reference implementation. We demonstrate these benefits with VegaFusion running on the same machine as the client as well as on a remote machine.

View on arXivView PDF

Code Implementations(1)

vega/vegafusionOfficial100%
RustBSD-3-Clause

Serverside scaling for Vega and Altair visualizations

42534Rust, PythonOct 1, 20218 months agoBSD-3-Clause
altaircharting-libraryjupytervegavega-lite

Similar Papers

Cite this paper

@article{kruchten2022vegafusion,
  title  = {VegaFusion: Automatic Server-Side Scaling for Interactive Vega Visualizations},
  author = {Nicolas Kruchten and Jon Mease and Dominik Moritz},
  year   = {2022},
  eprint = {2208.06631},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.06631}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.06631.svg)](https://codeofpaper.com/paper/2208.06631)

Discussion