README.md

nvd3R

R interface to NVD3.js

nvd3R

{nvd3R} is an R package for NVD3: a reusable graphics framework for d3.js.

Installation

The latest version can be installed from GitHub as follows:

install.packages("devtools")
devtools::install_github("alexym1/nvd3R")

Example

library(nvd3R)
mtcars %>%
  nvd3Plot(x = "cyl", y = "mpg", type = "boxplot", xlab = "Test1", ylab = "Test2")

Example for a {shiny} app

library(nvd3R)
path_to_app <- system.file("App/example01.R", package = "nvd3R")
runApp(path_to_app)

Resource

Official website at https://nvd3.org/



alexym1/nvd3R documentation built on March 10, 2023, 5:31 p.m.