A Julia package for generating visualizations in Vega
Getting Started Visualization Primitives Creating A Visualization From Scratch
View the Project on GitHubjohnmyleswhite/Vega.jl
Function Keywords:
x::AbstractVector y::AbstractVector group::AbstractVector pointShape::AbstractString = "circle" pointSize::Real = 50
using Vega, Distributions d1 = MultivariateNormal([0.0, 0.0], [1.0 0.9; 0.9 1.0]) d2 = MultivariateNormal([10.0, 10.0], [4.0 0.5; 0.5 4.0]) points = vcat(rand(d1, 500)', rand(d2, 500)') x = points[:, 1] y = points[:, 2] group = vcat(ones(Int, 500), ones(Int, 500) + 1) scatterplot(x = x, y = y, group = group)