VegaLite.jl

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 (preprint). Along with Vega-Lite, there is basic support for Vega graphics.

VegaLite.jl allows you to create a wide range of statistical plots. It exposes the full functionality of the underlying Vega-Lite and is a 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
)
020406080100120140160180200220240Horsepower05101520253035404550Miles_per_GallonEuropeJapanUSAOrigin