rtemis Draw
rtemis.draw: Schema-Driven Interactive Charts, Network Graphs, and Maps
E.D. Gennatas, MBBS AICSM PhD
Last updated: 2026-09-30

rtemis.draw creates interactive statistical charts, network graphs, and choropleth maps in R, rendering each with a high-performance JavaScript library: Apache ECharts for charts, Sigma.js for networks, and MapLibre GL JS for maps.
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, and both render through a single polymorphic draw() generic.
Configurations can be saved to and restored from JSON files, and each chart type has a published JSON Schema that other interfaces can implement. Shared rendering with rtemislive and other languages is ongoing work.
Visualizations display as htmlwidgets that automatically adapt to light and dark themes, work in R Markdown, Quarto, Shiny, and IDE viewers, and can be exported to SVG files using Node.js.