--- id: vegafusion version: "2.0.3" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # vegafusion — Core tools for using VegaFusion from Python License: permissive · Maintenance: active · Downloads: 511.0K/mo ## What it is and what it does VegaFusion is a Python wrapper around Rust-based tools for processing and optimizing Vega visualization specifications. It sits between low-level Vega specs and higher-level visualization libraries like Vega-Altair, providing building blocks for analyzing and scaling visualizations to handle larger datasets. The package depends on arro3-core, packaging, and narwhals for dataframe interoperability. The primary use case is as a data transformer backend for Vega-Altair, allowing you to work with larger datasets than standard Vega rendering would support. It is actively maintained, supports Python 3.9 through 3.13, and ships as pre-compiled wheels for major platforms, reducing installation complexity compared to packages requiring local compilation. Use it for: - Scale Vega-Altair visualizations to handle datasets larger than browser-based rendering typically supports. - Optimize Vega specifications for performance when working with analytical or scientific visualization pipelines. - Integrate Vega processing into data analysis workflows that use Arrow-based dataframe libraries. - Build custom visualization systems that need low-level Vega analysis and transformation capabilities. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. VegaFusion provides Rust-backed tools for analyzing and scaling Vega visualizations, with Python bindings to integrate with higher-level visualization systems like Vega-Altair. Yes, if you use Vega-Altair and need to visualize larger datasets. The package is actively maintained, has no known vulnerabilities, and offers pre-built wheels for common platforms. Install friction is moderate but manageable. If you work with standard Vega specs outside Altair or need custom visualization optimization, verify first whether VegaFusion's API meets your use case. ## Install pip install vegafusion uv add vegafusion poetry add vegafusion ## Installing vegafusion Before you install: Medium install friction due to compiled wheels for multiple platforms (macOS x86/ARM, Linux x86/ARM64, Windows). Active maintenance with recent commits and no known vulnerabilities. Requires Python 3.9 or later. License in practice: BSD-3-Clause is permissive; you can use this in commercial and proprietary projects with minimal restrictions, provided you include the license notice. Quickstart: pip install vegafusion import vegafusion # Use as a data transformer in Vega-Altair or directly with Vega specs Requires Python 3.9 or later; pre-built wheels available for macOS (x86_64, arm64), Linux (x86_64, aarch64), and Windows (amd64). Verify before relying: - What specific performance improvements or dataset size limits VegaFusion enables compared to standard Vega rendering. - Whether the package works standalone or requires Vega-Altair or another higher-level system to be useful. - API stability and breaking-change policy for the Python interface. ## Package facts - License: BSD-3-Clause (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 511.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags vega visualization scaling, large dataset vega charts, vega-altair data transformer, vega performance optimization, arrow-based vega processing, vega-visualization, rust-backed, arrow-native [View on SkillFed](https://skillfed.io/packages/vegafusion) · [View on PyPI](https://pypi.org/project/vegafusion/)