datafig / Vega.jl

A Julia package for generating visualizations in Vega

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vega.jl

OSX/Linux: Build Status
pkg.julialang.org: Vega
Windows: Build status

Introduction

A Julia package for creating Vega visualizations. Convenience functions for common visualizations are provided, while also allowing for unlimited customization through modification of the main VegaVisualization composite type.

At a high-level, Vega.jl is designed to provide an easy-to-use library to quickly make common visualizations, while also including some of the interactivity provided as part of the Vega 2.x JavaScript library. This package also provides a declarative syntax that deviates from Grammar-of-Graphics style packages.

Installation

Pkg.add("Vega")
using Vega

Currently, an Internet connection is required to use Vega.jl through Jupyter Notebook, as the required JavaScript libraries are delivered from a CDN. Using Vega from the REPL will work without an Internet connection.

Documentation

Please see the documentation, which is rendered on-the-fly using Vega code generated from Vega.jl

TODO/Contributing

Here's the current TODO list (along with the GitHub issues); of course, any contribution, on this list or not, is greatly appreciated!

To Do:

Functions/Types:

  • area, (vertical) boxplot in coord_flip!, public-facing as horizontal keyword
  • annotate heatmap / marklabels! function #59
  • Check inputs to set scales correctly for visualization #87
  • Fill in ::VegaTransform type with actual fields
  • How to layer plots? #73
  • error bars/shading around lines/bars/dots, regression line #53
  • How to incorporate more interactivity to hover! #70

Vega Visualizations:

  • Bullet Chart #47
  • Horizon #69
  • Treemap
  • Force
  • Violin plot
  • Contour
  • Parallel coordinates
  • Scatterplot matrix (faceting)
  • Barley (Faceting)
  • Diverging Stacked Bar Chart
  • Polar coordinate graph
  • Spiderweb graph / radial
  • hexbin
  • correlation plot
  • cluster map

d3 Visualizations (?):

Maps:

  • 50 United States maps
  • 200 Country-level maps (?)

About

A Julia package for generating visualizations in Vega

License:Other


Languages

Language:Julia 99.9%Language:HTML 0.1%