Skip to contents

Building a plot

Start a plot, then add layers, labels and options with +.

orb()
Start a plot
`+`(<orb_spec>)
Add layers, scales, labels and themes to a plot
orb_labs()
Axis, legend and plot labels
orb_options()
Plot-level options

Layers

Geometries drawn from the data.

orb_points()
Point layer
orb_line()
Line layer
orb_bars()
Bar layer
orb_area()
Area layer
orb_text()
Text layer

Maps and projections

Geographic layers and coordinate systems, including an orthographic globe.

orb_map()
World map layer
orb_geo_points()
Point layer positioned by longitude and latitude
orb_worldmap()
A ready-made world map
orb_coord_map()
Map projections
orb_coord_cartesian()
Cartesian coordinates
world_map
World country polygons

Small multiples

orb_facet()
Split a plot into small multiples

Scales, themes and palettes

Output

Interactive SVG, or publication-quality raster and vector output.

orb_save()
Save a plot at any resolution
orb_svg()
Render a plot as SVG
orb_interactive()
Open or write an interactive plot
orb_draw()
Draw a plot on the current graphics device

Package

orbis orbis-package
orbis: interactive and high-resolution layered graphics