A Julia package for generating visualizations in Vega
Getting Started
Visualization Primitives
Creating A Visualization From Scratch
The horizon plot alters the height of the Y-axis for each click, in order to increase information density. See paper “Sizing the Horizon: The Effects of Chart Size and Layering on the Graphical Perception of Time Series Visualizations” by Jeffrey Heer, Nicholas Kong, Maneesh Agrawala
Function Keywords:
x::AbstractVector
y::AbstractVector
using Vega
x = 1:20
y = [28, 55, 43, 91, 81, 53, 19, 87, 52, 48, 24, 49, 87, 66, 17, 27, 68, 16, 49, 15]
h = horizon(x = x, y = y)
colorscheme!(h, palette = "green")
(Click to change the number of layers)