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:
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
data-visualizationdatavizggplot2grammar-of-graphicsplotting
Last updated from:2b9c15c7d0. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 271 | ||
| source / vignettes | OK | 413 | ||
| linux-release | OK | 374 | ||
| macos-release | OK | 442 | ||
| macos-oldrel | OK | 318 | ||
| windows-devel | OK | 313 | ||
| windows-release | OK | 313 | ||
| windows-oldrel | OK | 382 | ||
| wasm-release | OK | 144 |
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 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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_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 |
| Raincloud plot | mark_raincloud |
| Segment mark | mark_segment |
| 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_jitter position_jitterdodge position_nudge position_sina |
| Join a plot's provenance to its rendered geometry | provenance_join |
| A widget-ready provenance payload (click-to-source) | provenance_payload |
| 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 |
| 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_steps scale_colour_steps scale_fill_binned scale_fill_steps |
| Line-type scale | scale_linetype scale_linetype_discrete |
| Line-width scale | scale_linewidth scale_linewidth_continuous |
| Pattern (texture) scale | scale_pattern |
| Shape scale | scale_shape |
| Size scale | scale_size scale_size_area |
| 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_y_continuous scale_y_discrete |
| 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 |
| Highlight a node's graph neighbourhood | select_neighbours |
| Declare an interactive selection | select_interval 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 |
