Skip to content
项目

关于

Vega-Lite 的 Julia 绑定

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

VegaLite.jl

Julia bindings to Vega-Lite

Project Status: Active - The project has reached a stable, usable state and is being actively developed. Build Status codecov

Overview

VegaLite.jl is a plotting package for the julia programming language. The package is based on Vega-Lite, which extends a traditional grammar of graphics API into a grammar of interactive graphics.

Additionally, VegaLite.jl provides basic support for Vega.

VegaLite.jl allows you to create a wide range of statistical plots. It exposes the full functionality of the underlying Vega-Lite and is at the same time tightly integrated into the julia ecosystem. Here is an example of a scatter plot:

using VegaLite, VegaDatasets

dataset("cars") |>
@vlplot(
    :point,
    x=:Horsepower,
    y=:Miles_per_Gallon,
    color=:Origin,
    width=400,
    height=400
)

plot

Installation

To install VegaLite.jl, run the following command in the julia Pkg REPL-mode:

(v1.0) pkg> add VegaLite

Documentation

The current documentation can be found here.

Note for Jupyterlab Users

VegaLite.jl can be used in combination with many different front end clients including JupyterLab, Pluto.jl, and Julia for VSCode.

Important: JupyterLab supplies its own version of Vega-Lite and cannot be kept in perfect sync with VegaLite.jl. Formatting discrepancies can and will arise on occasion for JupyterLab users. VegaLite.jl targets the latest available minor release of Vega-Lite which is also supported by JupyterLab.

Developer Notes

JupyterLab support depends on Juperlab's built-in renderer; before updating to a new major version of vega-lite, check the JupyterLab project for the latest supported version of vega-lite.

探索相关项目

加载中…