Package: vellumplot 0.9.0.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.9.0.9000.tar.gz
vellumplot_0.9.0.9000.zip(r-4.7-any)vellumplot_0.9.0.9000.zip(r-4.6-any)vellumplot_0.9.0.9000.zip(r-4.5-any)
vellumplot_0.9.0.9000.tgz(r-4.6-any)vellumplot_0.9.0.9000.tgz(r-4.5-any)
vellumplot_0.9.0.9000.tar.gz(r-4.7-any)vellumplot_0.9.0.9000.tar.gz(r-4.6-any)
vellumplot_0.9.0.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.13 score 15 stars 1 packages 67 scripts 260 exports 20 dependencies

Last updated from:2b9c15c7d0. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK271
source / vignettesOK413
linux-releaseOK374
macos-releaseOK442
macos-oldrelOK318
windows-develOK313
windows-releaseOK313
windows-oldrelOK382
wasm-releaseOK144

Exports:add_marginaladd_selectionafter_statanim_saveanimateannotateareaas_specbind_scaleclip_layerclip_tocompose_annotationconcatconditioncoord_cartesiancoord_equalcoord_fixedcoord_flipcoord_polarcoord_radialcoord_sfcoord_transdup_axisease_aesechoelement_blankelement_lineelement_rectelement_textfacet_gridfacet_wrapfilter_byfrom_specglowgt_vsparklineguide_colorbarguide_colorstepsguide_colourbarguide_colourstepsguide_legendguide_noneguideshconcatinsetinspect_sourceinteraction_modellabslimslinear_gradientmark_ablinemark_areamark_barmark_bin2dmark_boxplotmark_chordmark_compassmark_contourmark_contour_filledmark_countmark_crossbarmark_datashademark_densitymark_donutmark_dotplotmark_ecdfmark_edge_bundlemark_edge_textmark_edgesmark_ellipsemark_errorbarmark_flow_mapmark_functionmark_halfeyemark_hexmark_hierarchymark_histogrammark_hullmark_imagemark_intervalmark_labelmark_linemark_linerangemark_node_hullmark_node_piemark_node_textmark_nodesmark_outlier_labelmark_piemark_pointmark_pointrangemark_qqmark_qq_linemark_raincloudmark_rastermark_ribbonmark_ridgelinemark_rugmark_rulemark_sankeymark_scalebarmark_segmentmark_series_labelmark_sfmark_sf_labelmark_signifmark_smoothmark_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_jitterposition_jitterdodgeposition_nudgeposition_sinaprovenance_joinprovenance_payloadradial_gradientrender_allrender_plotrepeat_resolve_scalescale_alphascale_alpha_continuousscale_alpha_identityscale_color_binnedscale_color_brewerscale_color_continuousscale_color_discretescale_color_distillerscale_color_gradientscale_color_gradient2scale_color_gradientnscale_color_identityscale_color_manualscale_color_stepsscale_color_viridis_cscale_color_viridis_dscale_colour_brewerscale_colour_continuousscale_colour_discretescale_colour_distillerscale_colour_gradientscale_colour_gradient2scale_colour_gradientnscale_colour_identityscale_colour_manualscale_colour_stepsscale_colour_viridis_cscale_colour_viridis_dscale_edge_alphascale_edge_colorscale_edge_colourscale_edge_linetypescale_edge_widthscale_fill_binnedscale_fill_brewerscale_fill_continuousscale_fill_discretescale_fill_distillerscale_fill_gradientscale_fill_gradient2scale_fill_gradientnscale_fill_identityscale_fill_manualscale_fill_stepsscale_fill_viridis_cscale_fill_viridis_dscale_linetypescale_linetype_discretescale_linetype_identityscale_linewidthscale_linewidth_continuousscale_patternscale_shapescale_shape_identityscale_sizescale_size_areascale_size_identityscale_x_binnedscale_x_continuousscale_x_datescale_x_datetimescale_x_discretescale_x_timescale_y_binnedscale_y_continuousscale_y_datescale_y_datetimescale_y_discretescale_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
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
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
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
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
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
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_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
Raincloud plotmark_raincloud
Segment markmark_segment
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_jitter position_jitterdodge position_nudge position_sina
Join a plot's provenance to its rendered geometryprovenance_join
A widget-ready provenance payload (click-to-source)provenance_payload
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
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_steps scale_colour_steps scale_fill_binned scale_fill_steps
Line-type scalescale_linetype scale_linetype_discrete
Line-width scalescale_linewidth scale_linewidth_continuous
Pattern (texture) scalescale_pattern
Shape scalescale_shape
Size scalescale_size scale_size_area
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_y_continuous scale_y_discrete
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
Highlight a node's graph neighbourhoodselect_neighbours
Declare an interactive selectionselect_interval select_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