1  Getting Started

library(rtemis.draw)
.:rtemis.draw 0.3.0 🖌 aarch64-apple-darwin23

Attaching package: 'rtemis.draw'
The following object is masked from 'package:graphics':

    Axis

1.1 Installation

1.1.1 R-universe

install.packages(
  "rtemis.draw",
  repos = c('https://rtemis-org.r-universe.dev', 'https://cloud.r-project.org')
)

1.1.2 GitHub

pak::pak("rtemis-org/rtemis.draw")

1.2 Overview

rtemis.draw renders each plot type with the most capable JavaScript library for the job: ECharts for statistical charts, Sigma.js for network graphs, and MapLibre GL for choropleth maps. Every backend offers the same two tiers:

  • Tier 1: draw_*() convenience functions for common plots (draw_scatter(), draw_network(), draw_choropleth(), …).
  • Tier 2: S7 option classes (EChartsOption, SigmaOption, MapLibreOption) for full control, all rendered through the single draw() generic.
Backend High-level Low-level
ECharts draw_* S7 API
Sigma.js draw_network S7 API
MapLibre draw_choropleth S7 API
© 2026 E.D. Gennatas