Compose is a declarative vector graphics system written in Julia. It's designed to simplify the creation of complex graphics and serves as the basis of the Gadfly data visualization package.
- Renders publication quality graphics to SVG, PNG, Postscript, PDF and PGF
- Intuitive and consistent interface
- Works with Jupyter notebooks via IJulia out of the box
The latest release of Compose can be installed from the Julia REPL prompt with
This installs the package and any missing dependencies. From there, the simplest of graphics can be rendered to your default internet browser with
julia> using Compose
julia> compose(context(), circle(), fill("gold"))
Compose is intended as a futuristic version of the R library grid, and so takes a few ideas from grid. The Compose canvas is roughly equivalent to a viewport in grid, for example. Compose was also inspired by the admirable Haskell library Diagrams.