vellum gallery
The parchment, the pen, and the annotation revealed on the page.
A showcase of what you can draw with the vellum graphics ecosystem in R. Its engine measures text and solves layout before anything reaches a canvas, so a figure is something you can interrogate, lint, hash, and hand to a browser rather than a sheet of pixels. The grammar sits on top; the widget reads the same solved scene.
Why vellum
Six pages that make the case: the grammar you know, data at any size, interaction and animation from the same spec, and figures you can publish.
From ggplot2, in five edits
If you write ggplot2 you can read vellumplot. Five mechanical edits, then one line for a widget and two for an animation.
306 million points
Every person in the US Census as a point, datashaded. Big data is binned to the render grid, so nothing is dropped.
26 seasons of NBA shots
5.2 million shots, one panel per season: the mid-range empties and the three-point arc lights up.
Interaction is part of the spec
Brush an overview, zoom the detail. Declared with select_interval() and bind_scale(); it needs no server.
Real data, real maps
400 German districts by age and income from Eurostat, in one bivariate choropleth.
Animation with frozen scales
Keyframes are compiled once and tweened, so axes and legends hold still while the data moves.
The ecosystem
vellum
the parchment
A low-level graphics framework in the spirit of grid. Text is measured and layout solved with no device open, so the scene can say where every element landed before it is drawn.
vellumplot
the pen
A declarative, pipe-first grammar of graphics. A plot is an inspectable, serializable spec until it compiles into a vellum scene.
vellumwidget
the annotation
Hosts a vellum scene in the browser (hover, select, brush, zoom) by reading the solved geometry instead of re-drawing the plot in a second engine.








