Render ggplot2 graphics using vega
JavaScript R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
bench
inst
man
test
DESCRIPTION
NAMESPACE
README.md
TODO

README.md

gg2v

A quick and dirty experiment exploring rendering ggplot2 graphics using vega.

This approach uses relatively little existing ggplot2 code, and the semantics may be slightly different. It is likely to converge over time as both vega and gg2v become more mature, but there's no expectation that ggplot2 and gg2v will ever be exactly concordances. It's probably easier to think of gg2v as an alternative specification and rendering of the graphics DSL defined by ggplot2.

Please note that this is an experimental prototype, and is unlikely to be maintained long-term (unless someone else volunteers).

Currently supported

  • scales:
    • x and y position scales (continuous and categorical)
    • colour gradients
    • limited support for categorical colours
  • geoms: point, line, path, area, text
  • stats: none
  • facets: none
  • position adjustments: none