rtemis.draw: Schema-Driven Interactive Charts, Networks, Maps, and Diagrams

Create interactive statistical charts, network graphs, choropleth maps, and diagrams. Charts are rendered with the 'ECharts' 'JavaScript' library, networks with 'Sigma.js', maps with 'MapLibre GL JS', and diagrams written in 'Mermaid' syntax with 'Pele'. A high-level interface of plotting functions builds a complete visualization from data in a single call, while a low-level interface gives full control over every option. Both are based on the same type-checked and validated 'S7' configuration objects. Configurations can be saved to and restored from JSON files, and each chart type has a published JSON Schema that other interfaces can implement. Visualizations display as 'htmlwidgets' that automatically adapt to light and dark themes, work in R Markdown, 'Quarto', and 'shiny', and can be exported to Scalable Vector Graphics (SVG) files using 'Node.js'.

Version: 0.5.4
Depends: R (≥ 4.4.0)
Imports: htmltools, htmlwidgets, jsonlite, rtemis.core (≥ 0.4.7), S7, signal, stats, tools, utils, viridisLite
Suggests: data.table, jsonvalidate (≥ 1.5.0), mgcv, pROC, rmarkdown, rtemis, rtemis.a3 (≥ 0.6.0), shiny, survival, systemfonts, testthat (≥ 3.0.0)
Published: 2026-11-03
DOI: 10.32614/CRAN.package.rtemis.draw
Author: E.D. Gennatas ORCID iD [aut, cre, cph]
Maintainer: E.D. Gennatas <gennatas at gmail.com>
BugReports: https://github.com/rtemis-org/draw/issues
License: BSD_3_clause + file LICENSE
URL: https://www.rtemis.org, https://docs.rtemis.org/r/draw, https://docs.rtemis.org/r/draw-api
NeedsCompilation: no
SystemRequirements: Node.js (>= 18) for optional SVG export
Language: en-US
Materials: NEWS
CRAN checks: rtemis.draw results

Documentation:

Reference manual: rtemis.draw.html , rtemis.draw.pdf

Downloads:

Package source: rtemis.draw_0.5.4.tar.gz
Windows binaries: r-devel: rtemis.draw_0.5.3.zip, r-release: rtemis.draw_0.5.3.zip, r-oldrel: rtemis.draw_0.5.3.zip
macOS binaries: r-release (arm64): rtemis.draw_0.5.4.tgz, r-oldrel (arm64): rtemis.draw_0.5.4.tgz, r-release (x86_64): rtemis.draw_0.5.4.tgz, r-oldrel (x86_64): rtemis.draw_0.5.4.tgz
Old sources: rtemis.draw archive

Reverse dependencies:

Reverse imports: rtemis

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rtemis.draw to link to this page.