Description
rthreejs is an R package that provides Three.js widgets for R, Shiny and R Markdown. It includes three widgets. graphjs draws interactive network visualizations, scatterplot3js draws three-dimensional scatterplots as an alternative to the scatterplot3d function, and globejs plots data and images on a three-dimensional globe. The widgets render in RStudio, in R Markdown documents, in Shiny apps, and from command-line R through a web browser. They use WebGL acceleration where available and fall back to non-accelerated graphics on systems without WebGL. The package is built on the htmlwidgets framework. The changes section notes that version 0.3.0 from 2017 moved graph layouts to external layouts from igraph, which the package now depends on, and that version 0.3.4 from 2021 added a program argument for running extra JavaScript initialization code. Examples are on the project's R documentation site, and the README includes install instructions.…
Highlights
- Interactive network graphs with graphjs
- Three-dimensional scatterplots with scatterplot3js
- Data on a three-dimensional globe with globejs
- Works in RStudio, R Markdown and Shiny
- WebGL acceleration with a fallback
Ratings & Reviews
No ratings yet
Be the first to rate Rthreejs.
People also visit
Rthreejs FAQ
What is rthreejs for?
Interactive 3D and network visualizations built from R code, using Three.js.
Where can I use the widgets?
In RStudio, in R Markdown documents, in Shiny applications, and from R in a web browser.
Does it need WebGL?
No. It uses WebGL when the system supports it and falls back to non-accelerated graphics when it does not.
What changed in version 0.3.0?
Graph layouts now come from external tools such as igraph, which the package depends on, and the force-directed animation was removed.
What are the best Rthreejs alternatives?
Popular alternatives to Rthreejs include Three Forcegraph, Three Globe and 3d Force Graph. See all Rthreejs alternatives








