Vega.jl

A Julia package for generating visualizations in Vega

Getting Started
Visualization Primitives
Creating A Visualization From Scratch

Pre-defined Visualizations

Area Plot
Aster Plot
Bar Plot
Box Plot
Bubble Chart
Choropleth
Dot Plot
Grouped Bar
Heatmap
Horizon
Histogram
Joint Plot
Line Plot
Pie/Donut Chart
Population Chart
Punchcard
Ribbon Plot
Rug Plot
Scatter Plot
Stem-and-Leaf Plot
Stream Plot
Waterfall
Word Cloud

Interactive Visualization

Interact.jl and Vega in Jupyter Notebooks
Creating Interactive Sites Using Escher and Vega

Visualization Mutating Functions

colorscheme!
General Visualization Properties
hline! / vline!
hover!
jitter!
legend!
stroke!
text!
title!
xlab! / ylab!
xlim! / ylim!

View the Project on GitHubjohnmyleswhite/Vega.jl

Joint Plot

Function Keywords:

x::AbstractVector
y::AbstractVector
smoothing::Int

Joint KDE Plot

The smoothing parameter is just a kludge for making the plot appear smooth. This is due to using rectangles to render the density plot. At the default size, the default value should provide adequate smoothing. If you make the plot dramatically different in size, move the value of this keyword 1 or 2 in either direction as needed.

using Vega, RDatasets
faithful = dataset("datasets", "faithful")

a = jointplot(x = faithful[:Eruptions], y = faithful[:Waiting])