vega/vegafusion

Serverside scaling for Vega and Altair visualizations

Rust

423

725 commits

updated Mar 23, 2026

See the code

README


Overview

VegaFusion provides Rust, Python, and JavaScript libraries for analyzing and scaling Vega visualizations. The goal is to provide low-level building blocks that higher level Vega systems (such as Vega-Altair in Python) can integrate with.

[!NOTE]
If you've arrived here looking for information on how to scale Vega-Altair visualizations to support larger datasets, see the Vega-Altair documentation on the "vegafusion" data transformer.

Python Installation

The VegaFusion Python package can be installed into a Python environment using pip

pip install vegafusion

or conda

conda install -c conda-forge vegafusion

Documentation

See Documentation and Examples.

Development

Prerequisites

VegaFusion development requires:

  • Rust: Install from rustup.rs
  • Pixi: Install from pixi.sh - manages all other dependencies

Setup

# Clone the repository
git clone https://github.com/vega/vegafusion.git
cd vegafusion

# Install Pixi (if not already installed)
curl -fsSL https://pixi.sh/install.sh | bash

# Install Rust (if not already installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Run any pixi task (this will automatically install dependencies)
pixi run test-rs

See CLAUDE.md for detailed development instructions.

altair
charting-library
jupyter
vega
vega-lite

Contributors

jonmmease

719 commits

MarcoGorelli

2 commits

jkillian

1 commits

johnwmillr

1 commits

Languages

Rust

81.1%

Python

18.0%

vega/vegafusion

Serverside scaling for Vega and Altair visualizations

Rust

423

725 commits

updated Mar 23, 2026

See the code

README


Overview

VegaFusion provides Rust, Python, and JavaScript libraries for analyzing and scaling Vega visualizations. The goal is to provide low-level building blocks that higher level Vega systems (such as Vega-Altair in Python) can integrate with.

[!NOTE]
If you've arrived here looking for information on how to scale Vega-Altair visualizations to support larger datasets, see the Vega-Altair documentation on the "vegafusion" data transformer.

Python Installation

The VegaFusion Python package can be installed into a Python environment using pip

pip install vegafusion

or conda

conda install -c conda-forge vegafusion

Documentation

See Documentation and Examples.

Development

Prerequisites

VegaFusion development requires:

  • Rust: Install from rustup.rs
  • Pixi: Install from pixi.sh - manages all other dependencies

Setup

# Clone the repository
git clone https://github.com/vega/vegafusion.git
cd vegafusion

# Install Pixi (if not already installed)
curl -fsSL https://pixi.sh/install.sh | bash

# Install Rust (if not already installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Run any pixi task (this will automatically install dependencies)
pixi run test-rs

See CLAUDE.md for detailed development instructions.

altair
charting-library
jupyter
vega
vega-lite

Contributors

jonmmease

719 commits

MarcoGorelli

2 commits

jkillian

1 commits

johnwmillr

1 commits

Languages

Rust

81.1%

Python

18.0%