A Julia package for generating visualizations in Vega
Getting Started Visualization Primitives Creating A Visualization From Scratch
View the Project on GitHubjohnmyleswhite/Vega.jl
Arguments:
v::VegaVisualization title::AbstractString = "" grid::Bool = false ticks::Number = 0 format::AbstractString = "" layer::AbstractString = "front", properties::Dict = Dict{Any, Any} tickSize::Number = 0 tickSizeMajor::Number = 0 tickSizeMinor::Number = 0 tickSizeEnd::Number = 0
This function mutates :VegaVisualization, adding/modifying the X axis or Y axis.
:VegaVisualization
using Vega x = [1:100; 1:100] y = [[1:100] + randn(100); 3.0 + 1.5 * [1:100] + randn(100)] group = [[1 for i in 1:100]; [2 for i in 1:100]] v = lineplot(x = x, y = y, group = group)
xlab!(v, title = "Weight (kg)") ylab!(v, title = "Height (cm)")