Skip to content

vega/vegafusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

726 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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.