#vega-lite #vega #visualization #specification

vl-convert-rs

Library for converting Vega-Lite visualization specifications to Vega specifications

52 releases (16 stable)

new 1.8.0 May 27, 2025
1.7.0 Oct 4, 2024
1.6.2-a1 Sep 29, 2024
1.5.1 Jul 27, 2024
0.5.0 Oct 29, 2022

#572 in Images

Download history 47/week @ 2025-01-29 12/week @ 2025-02-05 39/week @ 2025-02-12 8/week @ 2025-02-19 5/week @ 2025-03-05 8/week @ 2025-03-19 7/week @ 2025-03-26 23/week @ 2025-04-09 44/week @ 2025-04-16 31/week @ 2025-04-23 35/week @ 2025-05-07 37/week @ 2025-05-14

107 downloads per month
Used in vl-convert

BSD-3-Clause

4.5MB
3K SLoC

Overview

This crate provides a self-contained Rust library for converting Vega-Lite visualization specifications into various formats. The conversions are performed using the Vega-Lite and Vega JavaScript libraries running in a v8 JavaScript runtime provided by the deno_runtime crate.

This crate is a dependency of the vl-convert CLI application crate and the vl-convert-python Python library.

Example

The VlConverter struct may be used to perform various Vega-Lite conversions. See the documentation of VlConverter for example usage.

JavaScript Vendoring and Code Generation

Note: The vl-convert-rs/vendor directory and vl-convert-rs/src/module_loader/import_map.rs file in this crate are generated by the internal vl-convert-vendor crate.

Dependencies

~220MB
~4.5M SLoC