Package: vellumplot 0.21.1.9000

vellumplot: A Grammar of Graphics on the 'vellum' Backend

A declarative, pipe-first grammar of graphics that compiles an inspectable plot specification into a 'vellum' scene and renders it. A plot is built up as a serializable spec (data, layers, scales) and nothing is drawn until it is compiled: encodings are resolved, scales are trained, a panel layout is measured, and guides and marks are emitted as 'vellum' grobs.

Authors:David Schoch [aut, cre]

vellumplot_0.21.1.9000.tar.gz
vellumplot_0.15.0.9000.zip(r-4.7-any)vellumplot_0.15.0.9000.zip(r-4.6-any)vellumplot_0.15.0.9000.zip(r-4.5-any)
vellumplot_0.21.1.9000.tgz(r-4.6-any)vellumplot_0.21.1.9000.tgz(r-4.5-any)
vellumplot_0.21.1.9000.tar.gz(r-4.7-any)vellumplot_0.21.1.9000.tar.gz(r-4.6-any)
vellumplot_0.21.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
vellumplot/json (API)

# Install 'vellumplot' in R:
install.packages('vellumplot', repos = c('https://schochastics.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-vellum/vellumplot/issues

Pkgdown/docs site:https://r-vellum.github.io

On CRAN:

Conda:

data-visualizationdatavizggplot2grammar-of-graphicsplotting

5.23 score 15 stars 1 packages 69 scripts 326 exports 20 dependencies

Last updated from:c652c9923d. Checks:1 ERROR, 5 OK, 3 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR580
source / vignettesOK412
linux-releaseOK651
macos-releaseOK604
macos-oldrelOK689
windows-develFAIL299
windows-releaseFAIL351
windows-oldrelFAIL376
wasm-releaseOK266

Exports:add_marginaladd_selectionafter_statanim_frameanim_saveanimateannotateareaas_labelleras_specbi_classbi_palbind_scaleclip_layerclip_tocompose_annotationconcatconditioncoord_cartesiancoord_equalcoord_fixedcoord_flipcoord_polarcoord_radialcoord_sfcoord_transdup_axisease_aesechoelement_blankelement_geomelement_lineelement_rectelement_textfacet_gridfacet_wrapfilter_byfrom_specglowgt_vsparklineguide_axisguide_axis_logticksguide_binsguide_bivariateguide_colorbarguide_colorstepsguide_colourbarguide_colourstepsguide_legendguide_noneguideshconcatinsetinspect_sourceinteraction_modellabel_bothlabel_valuelabel_wrap_genlabslimslinear_gradientmark_ablinemark_areamark_barmark_bin2dmark_boxplotmark_chordmark_compassmark_contourmark_contour_filledmark_countmark_crossbarmark_curvemark_datashademark_densitymark_density_2dmark_density_2d_filledmark_donutmark_dotplotmark_ecdfmark_edge_bundlemark_edge_textmark_edgesmark_ellipsemark_errorbarmark_flow_mapmark_freqpolymark_functionmark_halfeyemark_hexmark_hierarchymark_histogrammark_hullmark_imagemark_intervalmark_labelmark_linemark_linerangemark_node_hullmark_node_piemark_node_textmark_nodesmark_outlier_labelmark_pathmark_piemark_pointmark_pointrangemark_polygonmark_qqmark_qq_linemark_quantilemark_raincloudmark_rastermark_rectmark_ribbonmark_ridgelinemark_rugmark_rulemark_sankeymark_scalebarmark_segmentmark_series_labelmark_sfmark_sf_labelmark_signifmark_smoothmark_spokemark_stepmark_summarymark_textmark_text_pathmark_tilemark_violinmcp_servemdmotionoutlinepattern_checkerpattern_crosshatchpattern_dotpattern_gridpattern_hatchpattern_stripepdf_pagesplot_altplot_data_uriplot_lintplot_manifestplot_provenanceplot_spacerplot_svgplot_verifyPlotSpecposition_dodgeposition_dodge2position_fillposition_jitterposition_jitterdodgeposition_nudgeposition_sinaposition_stackprovenance_joinprovenance_payloadradial_gradientrelrender_allrender_plotrepeat_resolve_scalescale_alphascale_alpha_continuousscale_alpha_discretescale_alpha_identityscale_alpha_manualscale_alpha_ordinalscale_color_binnedscale_color_bivariatescale_color_brewerscale_color_continuousscale_color_discretescale_color_distillerscale_color_fermenterscale_color_gradientscale_color_gradient2scale_color_gradientnscale_color_greyscale_color_huescale_color_identityscale_color_manualscale_color_ordinalscale_color_stepsscale_color_steps2scale_color_stepsnscale_color_viridis_bscale_color_viridis_cscale_color_viridis_dscale_colour_bivariatescale_colour_brewerscale_colour_continuousscale_colour_discretescale_colour_distillerscale_colour_fermenterscale_colour_gradientscale_colour_gradient2scale_colour_gradientnscale_colour_greyscale_colour_huescale_colour_identityscale_colour_manualscale_colour_ordinalscale_colour_stepsscale_colour_steps2scale_colour_stepsnscale_colour_viridis_bscale_colour_viridis_cscale_colour_viridis_dscale_edge_alphascale_edge_colorscale_edge_colourscale_edge_linetypescale_edge_widthscale_fill_binnedscale_fill_bivariatescale_fill_brewerscale_fill_continuousscale_fill_discretescale_fill_distillerscale_fill_fermenterscale_fill_gradientscale_fill_gradient2scale_fill_gradientnscale_fill_greyscale_fill_huescale_fill_identityscale_fill_manualscale_fill_ordinalscale_fill_stepsscale_fill_steps2scale_fill_stepsnscale_fill_viridis_bscale_fill_viridis_cscale_fill_viridis_dscale_linetypescale_linetype_discretescale_linetype_identityscale_linetype_manualscale_linewidthscale_linewidth_continuousscale_patternscale_radiusscale_shapescale_shape_discretescale_shape_identityscale_shape_manualscale_sizescale_size_areascale_size_binnedscale_size_continuousscale_size_discretescale_size_identityscale_size_manualscale_size_ordinalscale_x_binnedscale_x_continuousscale_x_datescale_x_datetimescale_x_discretescale_x_log10scale_x_reversescale_x_sqrtscale_x_timescale_y_binnedscale_y_continuousscale_y_datescale_y_datetimescale_y_discretescale_y_log10scale_y_reversescale_y_sqrtscale_y_timesec_axisselect_intervalselect_neighboursselect_pointset_maskset_themeshadowsketchspec_diagnosespec_fieldsspec_from_jsonspec_from_vegalitespec_schemaspec_to_jsonspec_to_vegalitethemetheme_bwtheme_classictheme_cyberpunktheme_darktheme_graytheme_lighttheme_linedrawtheme_minimaltheme_sketchtheme_voidtransition_revealtransition_statestransition_timevchordvconcatvdendrogramvgraphvhierarchyvl_patternvplotvplot_askvplot_from_specvsankeyvsparklinevtablevvennvwafflewrap_plotsxlimylim

Dependencies:base64encclicpp11farvergluejsonlitelabelinglifecycleR6RColorBrewerrlangS7scalesstringisystemfontstextshapingvctrsvellumviridisLitexml2

Readme and manuals

Help Manual

Help pageTopics
Add marginal distributions to a plotadd_marginal
Register a free-standing selection on a plotadd_selection
Map an aesthetic to a statistic computed by a statafter_stat
Save one frame of an animation as a still imageanim_frame
Write a keyframe animation to a fileanim_save
Build a keyframe animation from a plotanimate
Add a one-off annotationannotate
Define a layout area for design =area
Serialize a plot to a plain spec (and back)as_spec from_spec
Classify two variables for a bivariate mapbi_class
Bivariate palettesbi_pal
Bind a panel's view to a selection (overview + detail)bind_scale
Clip or mask a plot to a geometryclip clip_layer clip_to set_mask
Annotate a compositioncompose_annotation
Arrange plots side by sideconcat hconcat vconcat wrap_plots
Conditional encoding: style by selection membershipcondition
Coordinate systemscoord_cartesian coord_equal coord_fixed coord_flip
Polar coordinatescoord_polar coord_radial
Map coordinate systemcoord_sf
Transformed coordinate systemcoord_trans
Set the easing of an animation's framesease_aes
Theme elementselement element_blank element_line element_rect element_text
Default mark colours of a themeelement_geom
Facet a plot into a grid of panelsfacet_grid facet_wrap
Filter a view by a selectionfilter_by
Neon glow layer effectglow
Gradient fill paintsgradients linear_gradient radial_gradient
Add a vellumplot sparkline column to a 'gt' tablegt_vsparkline
Axis guideguide_axis guide_axis_logticks
Binned legendguide_bins
A 2-D legend for a bivariate scaleguide_bivariate
Control a scale's legendguides guide_colorbar guide_colorsteps guide_colourbar guide_coloursteps guide_legend guide_none
Overlay a plot as an insetinset
Inspect the data behind a clicked element (click-to-source)inspect_source
The interaction model of a compiled plotinteraction_model
Facet strip labellersas_labeller labellers label_both label_value label_wrap_gen
Set plot titles and axis/legend labelslabs
Set scale limits with a shortcutlims xlim ylim
Map decorationsmap_decorations mark_compass mark_scalebar
Reference lines and function curvesmark_abline mark_function
Area, ribbon, and step marksmark_area mark_ribbon mark_step
Boxplot, error bar, and summary marksmark_boxplot mark_crossbar mark_errorbar mark_linerange mark_pointrange mark_summary
2-D density contoursmark_contour mark_contour_filled
Count overlapping pointsmark_count
Datashade a large point cloudmark_datashade
2-D density estimatemark_density_2d mark_density_2d_filled
Distribution marksmark_ecdf mark_qq mark_qq_line mark_rug
Group summary regionsmark_ellipse mark_hull
Network (graph) marksmark_edges mark_edge_bundle mark_edge_text mark_flow_map mark_graph mark_nodes mark_node_hull mark_node_pie mark_node_text
Uncertainty marks (slab + interval)mark_halfeye mark_interval
Statistical marksmark_freqpoly mark_histogram mark_smooth
Draw images at data pointsmark_image
Label the outliersmark_outlier_label
Pie and donut chartsmark_donut mark_pie
Add marks to a plotmark_bar mark_line mark_point mark_rule
Polygon and path marksmark_path mark_polygon
Quantile regression linesmark_quantile
Raincloud plotmark_raincloud
Rectangle markmark_rect
Segment, curve and spoke marksmark_curve mark_segment mark_spoke
Direct series labelsmark_series_label
Draw simple-feature (sf) geometriesmark_sf
Label sf features at their interior pointmark_sf_label
Significance bracketsmark_signif
Text marksmark_label mark_text
Text set along a pathmark_text_path
Heatmap marksmark_bin2d mark_density mark_hex mark_raster mark_tile
Density-shape marksmark_dotplot mark_ridgeline mark_violin
Run the vellumplot MCP servermcp_serve
Rich-text labelsmd
Motion-trail layer effectsecho motion
Outline (halo) layer effectoutline
Crisp vector hatch fillpattern_hatch
Pattern (hatch) fillspatterns pattern_checker pattern_crosshatch pattern_dot pattern_grid pattern_stripe
Write a multi-page PDFpdf_pages
Text alternative (alt text) for a plotplot_alt
Encode a plot as a data URIplot_data_uri
Lint a plot for legibility and accessibility problemsplot_lint
A reproducibility manifest for a plotplot_manifest
Inspect the compiled-scene provenance of a plotplot_provenance
Reserve an empty cell in a compositionplot_spacer
Render a plot to a self-contained SVG stringplot_svg
Verify a rendered figure against its dataplot_verify
The plot specificationPlotSpec
Position adjustmentsposition position_dodge position_dodge2 position_fill position_jitter position_jitterdodge position_nudge position_sina position_stack
Join a plot's provenance to its rendered geometryprovenance_join
A widget-ready provenance payload (click-to-source)provenance_payload
Relative sizingrel
Render many plots to separate files, in parallelrender_all
Render a plot to a filerender_plot
Repeat a view across fieldsrepeat_
Resolve scales as shared or independent across panelsresolve_scale
Alpha (opacity) scalescale_alpha scale_alpha_continuous scale_alpha_discrete scale_alpha_manual scale_alpha_ordinal
Colour scalesscale_color_continuous scale_color_discrete scale_color_gradient scale_color_gradient2 scale_color_gradientn scale_color_manual scale_colour_continuous scale_colour_discrete scale_colour_gradient scale_colour_gradient2 scale_colour_gradientn scale_colour_manual scale_fill_continuous scale_fill_discrete scale_fill_gradient scale_fill_gradient2 scale_fill_gradientn scale_fill_manual
Identity scalesscale_alpha_identity scale_color_identity scale_colour_identity scale_fill_identity scale_linetype_identity scale_shape_identity scale_size_identity
Edge colour / alpha / line-type scalesscale_edge scale_edge_alpha scale_edge_color scale_edge_colour scale_edge_linetype
Edge-width scalescale_edge_width
Binned (classed) colour scalesscale_color_binned scale_color_fermenter scale_color_steps scale_color_steps2 scale_color_stepsn scale_color_viridis_b scale_colour_fermenter scale_colour_steps scale_colour_steps2 scale_colour_stepsn scale_colour_viridis_b scale_fill_binned scale_fill_fermenter scale_fill_steps scale_fill_steps2 scale_fill_stepsn scale_fill_viridis_b
Bivariate colour scalesscale_color_bivariate scale_colour_bivariate scale_fill_bivariate
Hue, grey and ordinal colour scalesscale_color_grey scale_color_hue scale_color_ordinal scale_colour_grey scale_colour_hue scale_colour_ordinal scale_fill_grey scale_fill_hue scale_fill_ordinal scale_hue
Line-type scalescale_linetype scale_linetype_discrete scale_linetype_manual
Line-width scalescale_linewidth scale_linewidth_continuous
Pattern (texture) scalescale_pattern
Shape scalescale_shape scale_shape_discrete scale_shape_manual
Size scalescale_radius scale_size scale_size_area scale_size_binned scale_size_continuous scale_size_discrete scale_size_manual scale_size_ordinal
Viridis and ColorBrewer scalesscale_color_brewer scale_color_distiller scale_color_viridis_c scale_color_viridis_d scale_colour_brewer scale_colour_distiller scale_colour_viridis_c scale_colour_viridis_d scale_fill_brewer scale_fill_distiller scale_fill_viridis_c scale_fill_viridis_d scale_viridis
Binned position scalesscale_x_binned scale_y_binned
Position scalesscale_x_continuous scale_x_discrete scale_x_log10 scale_x_reverse scale_x_sqrt scale_y_continuous scale_y_discrete scale_y_log10 scale_y_reverse scale_y_sqrt
Date and time position scalesscale_x_date scale_x_datetime scale_x_time scale_y_date scale_y_datetime scale_y_time
Secondary axesdup_axis sec_axis
Declare an interval (brush) selectionselect_interval
Highlight a node's graph neighbourhoodselect_neighbours
Declare an interactive selectionselect_point
Shadow layer effectshadow
Hand-drawn ("sketch") renderingsketch
Diagnose a spec against its dataspec_diagnose vplot_from_spec
Summarise a data frame's fields for a modelspec_fields
The vellumplot spec JSON Schemaspec_schema
Serialize a plot to / from a JSON spec stringspec_from_json spec_to_json
Convert between a vellumplot spec and a Vega-Lite specificationspec_from_vegalite spec_to_vegalite
Plot themesset_theme theme theme_bw theme_classic theme_cyberpunk theme_dark theme_gray theme_light theme_linedraw theme_minimal theme_void
Hand-drawn plot themetheme_sketch
Reveal a plot progressively along a variabletransition_reveal
Animate a plot across the states of a variabletransition_states
Animate a plot along a continuous timetransition_time
Chord diagrammark_chord vchord
Dendrogram from a clusteringvdendrogram
Start a graph (network) plotvgraph
Hierarchy diagrams: sunburst, icicle, treemap, circle-packmark_hierarchy vhierarchy
Custom tiling-pattern fillvl_pattern
Start a plot specificationvplot
Generate a plot from a natural-language requestvplot_ask
Sankey (flow) diagrammark_sankey vsankey
Sparklines — tiny word-sized chartsvsparkline
Tables with sparkline columnsvtable
Venn / Euler diagramsvvenn
Waffle chartvwaffle