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:
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
data-visualizationdatavizggplot2grammar-of-graphicsplotting
Last updated from:c652c9923d. Checks:1 ERROR, 5 OK, 3 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | ERROR | 580 | ||
| source / vignettes | OK | 412 | ||
| linux-release | OK | 651 | ||
| macos-release | OK | 604 | ||
| macos-oldrel | OK | 689 | ||
| windows-devel | FAIL | 299 | ||
| windows-release | FAIL | 351 | ||
| windows-oldrel | FAIL | 376 | ||
| wasm-release | OK | 266 |
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 page | Topics |
|---|---|
| Add marginal distributions to a plot | add_marginal |
| Register a free-standing selection on a plot | add_selection |
| Map an aesthetic to a statistic computed by a stat | after_stat |
| Save one frame of an animation as a still image | anim_frame |
| Write a keyframe animation to a file | anim_save |
| Build a keyframe animation from a plot | animate |
| Add a one-off annotation | annotate |
| 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 map | bi_class |
| Bivariate palettes | bi_pal |
| Bind a panel's view to a selection (overview + detail) | bind_scale |
| Clip or mask a plot to a geometry | clip clip_layer clip_to set_mask |
| Annotate a composition | compose_annotation |
| Arrange plots side by side | concat hconcat vconcat wrap_plots |
| Conditional encoding: style by selection membership | condition |
| Coordinate systems | coord_cartesian coord_equal coord_fixed coord_flip |
| Polar coordinates | coord_polar coord_radial |
| Map coordinate system | coord_sf |
| Transformed coordinate system | coord_trans |
| Set the easing of an animation's frames | ease_aes |
| Theme elements | element element_blank element_line element_rect element_text |
| Default mark colours of a theme | element_geom |
| Facet a plot into a grid of panels | facet_grid facet_wrap |
| Filter a view by a selection | filter_by |
| Neon glow layer effect | glow |
| Gradient fill paints | gradients linear_gradient radial_gradient |
| Add a vellumplot sparkline column to a 'gt' table | gt_vsparkline |
| Axis guide | guide_axis guide_axis_logticks |
| Binned legend | guide_bins |
| A 2-D legend for a bivariate scale | guide_bivariate |
| Control a scale's legend | guides guide_colorbar guide_colorsteps guide_colourbar guide_coloursteps guide_legend guide_none |
| Overlay a plot as an inset | inset |
| Inspect the data behind a clicked element (click-to-source) | inspect_source |
| The interaction model of a compiled plot | interaction_model |
| Facet strip labellers | as_labeller labellers label_both label_value label_wrap_gen |
| Set plot titles and axis/legend labels | labs |
| Set scale limits with a shortcut | lims xlim ylim |
| Map decorations | map_decorations mark_compass mark_scalebar |
| Reference lines and function curves | mark_abline mark_function |
| Area, ribbon, and step marks | mark_area mark_ribbon mark_step |
| Boxplot, error bar, and summary marks | mark_boxplot mark_crossbar mark_errorbar mark_linerange mark_pointrange mark_summary |
| 2-D density contours | mark_contour mark_contour_filled |
| Count overlapping points | mark_count |
| Datashade a large point cloud | mark_datashade |
| 2-D density estimate | mark_density_2d mark_density_2d_filled |
| Distribution marks | mark_ecdf mark_qq mark_qq_line mark_rug |
| Group summary regions | mark_ellipse mark_hull |
| Network (graph) marks | mark_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 marks | mark_freqpoly mark_histogram mark_smooth |
| Draw images at data points | mark_image |
| Label the outliers | mark_outlier_label |
| Pie and donut charts | mark_donut mark_pie |
| Add marks to a plot | mark_bar mark_line mark_point mark_rule |
| Polygon and path marks | mark_path mark_polygon |
| Quantile regression lines | mark_quantile |
| Raincloud plot | mark_raincloud |
| Rectangle mark | mark_rect |
| Segment, curve and spoke marks | mark_curve mark_segment mark_spoke |
| Direct series labels | mark_series_label |
| Draw simple-feature (sf) geometries | mark_sf |
| Label sf features at their interior point | mark_sf_label |
| Significance brackets | mark_signif |
| Text marks | mark_label mark_text |
| Text set along a path | mark_text_path |
| Heatmap marks | mark_bin2d mark_density mark_hex mark_raster mark_tile |
| Density-shape marks | mark_dotplot mark_ridgeline mark_violin |
| Run the vellumplot MCP server | mcp_serve |
| Rich-text labels | md |
| Motion-trail layer effects | echo motion |
| Outline (halo) layer effect | outline |
| Crisp vector hatch fill | pattern_hatch |
| Pattern (hatch) fills | patterns pattern_checker pattern_crosshatch pattern_dot pattern_grid pattern_stripe |
| Write a multi-page PDF | pdf_pages |
| Text alternative (alt text) for a plot | plot_alt |
| Encode a plot as a data URI | plot_data_uri |
| Lint a plot for legibility and accessibility problems | plot_lint |
| A reproducibility manifest for a plot | plot_manifest |
| Inspect the compiled-scene provenance of a plot | plot_provenance |
| Reserve an empty cell in a composition | plot_spacer |
| Render a plot to a self-contained SVG string | plot_svg |
| Verify a rendered figure against its data | plot_verify |
| The plot specification | PlotSpec |
| Position adjustments | position position_dodge position_dodge2 position_fill position_jitter position_jitterdodge position_nudge position_sina position_stack |
| Join a plot's provenance to its rendered geometry | provenance_join |
| A widget-ready provenance payload (click-to-source) | provenance_payload |
| Relative sizing | rel |
| Render many plots to separate files, in parallel | render_all |
| Render a plot to a file | render_plot |
| Repeat a view across fields | repeat_ |
| Resolve scales as shared or independent across panels | resolve_scale |
| Alpha (opacity) scale | scale_alpha scale_alpha_continuous scale_alpha_discrete scale_alpha_manual scale_alpha_ordinal |
| Colour scales | scale_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 scales | scale_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 scales | scale_edge scale_edge_alpha scale_edge_color scale_edge_colour scale_edge_linetype |
| Edge-width scale | scale_edge_width |
| Binned (classed) colour scales | scale_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 scales | scale_color_bivariate scale_colour_bivariate scale_fill_bivariate |
| Hue, grey and ordinal colour scales | scale_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 scale | scale_linetype scale_linetype_discrete scale_linetype_manual |
| Line-width scale | scale_linewidth scale_linewidth_continuous |
| Pattern (texture) scale | scale_pattern |
| Shape scale | scale_shape scale_shape_discrete scale_shape_manual |
| Size scale | scale_radius scale_size scale_size_area scale_size_binned scale_size_continuous scale_size_discrete scale_size_manual scale_size_ordinal |
| Viridis and ColorBrewer scales | scale_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 scales | scale_x_binned scale_y_binned |
| Position scales | scale_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 scales | scale_x_date scale_x_datetime scale_x_time scale_y_date scale_y_datetime scale_y_time |
| Secondary axes | dup_axis sec_axis |
| Declare an interval (brush) selection | select_interval |
| Highlight a node's graph neighbourhood | select_neighbours |
| Declare an interactive selection | select_point |
| Shadow layer effect | shadow |
| Hand-drawn ("sketch") rendering | sketch |
| Diagnose a spec against its data | spec_diagnose vplot_from_spec |
| Summarise a data frame's fields for a model | spec_fields |
| The vellumplot spec JSON Schema | spec_schema |
| Serialize a plot to / from a JSON spec string | spec_from_json spec_to_json |
| Convert between a vellumplot spec and a Vega-Lite specification | spec_from_vegalite spec_to_vegalite |
| Plot themes | set_theme theme theme_bw theme_classic theme_cyberpunk theme_dark theme_gray theme_light theme_linedraw theme_minimal theme_void |
| Hand-drawn plot theme | theme_sketch |
| Reveal a plot progressively along a variable | transition_reveal |
| Animate a plot across the states of a variable | transition_states |
| Animate a plot along a continuous time | transition_time |
| Chord diagram | mark_chord vchord |
| Dendrogram from a clustering | vdendrogram |
| Start a graph (network) plot | vgraph |
| Hierarchy diagrams: sunburst, icicle, treemap, circle-pack | mark_hierarchy vhierarchy |
| Custom tiling-pattern fill | vl_pattern |
| Start a plot specification | vplot |
| Generate a plot from a natural-language request | vplot_ask |
| Sankey (flow) diagram | mark_sankey vsankey |
| Sparklines — tiny word-sized charts | vsparkline |
| Tables with sparkline columns | vtable |
| Venn / Euler diagrams | vvenn |
| Waffle chart | vwaffle |
