Skip to content

r2d3

0.2.6

Interface to 'D3' Visualizations

7packages dependsuggested by 7
62.3Kdownloads / year
79.0%test coverage
13/13flavors OK

Overview

About

Suite of tools for using 'D3', a library for producing dynamic, interactive data visualizations. Supports translating objects into 'D3' friendly data structures, rendering 'D3' scripts, publishing 'D3' visualizations, incorporating 'D3' in R Markdown, creating interactive 'D3' applications with Shiny, and distributing 'D3' based 'htmlwidgets' in R packages.

Changes in 0.2.6
  • Fix bug that would cause multiple dependencies for css or js to silently fail.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.6
READMEYes · 1,109 wordsVignettesYes · 6 · staticNEWSYes · 100% structured · mentions 0.2.6Citation fileNoWebsiteYes · pkgdown
Help pages
8 (2 internal)
Examples that run
100%3 run in a plain check
Exported functions with examples
38%
Documented parameters
100%
Return-value docs
0%
Help pages citing references
0%

Downloads

62.3K
CRAN downloads in the past year
Rank #1,763 · ~171/day · ~5.2K/mo
Daily download trend is not available in this view yet.
3.4K30 days
11.5K90 days
62.3K1 year
Compare downloads with other packages →
Also on432 r2u11 autocran5.9K conda_forge200 c2d4u

Repository

529Stars
102Forks
36Open issues
4Open PRs
4Releases
453Commits
14Commit identities
rd3visualizationr2d3
453 commits · Last activity 2021-11-18 · 0% stars, 30d · The default branch showed an older version (0.2.5) than CRAN on 2026-10-11
Responsiveness
How these are sampled
PRs merged (all time)
92%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-06-08 · 5192026-10-12 · 529
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/rstudio/r2d3 on 2026-10-11.

Continuous integration (1)
GitHub Actions
Docs source (2)
pkgdown

GitHub Pages site last deployed 2021-11-18

pkgdown site last built 2021-11-18, before release 0.2.6 (2022-02-28)

Coverage (1)
Coverage reporting (Codecov)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing r2d3 adds 27 packages (14 with compiled code, 19 MB of source tarballs). Heaviest: bslib 5.6 MB, sass 2.9 MB, rmarkdown 2.1 MB.

Depends (1)
R >= 3.1.2
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
7direct
0indirect
Imports 7
Suggested by 7
Show all 14 packagesHide all 14 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (5)
Author, Maintainer since 0.2.5 (2020) · added in 0.2.5
Contributor, Copyright holder
d3.js library, https://d3js.org
Copyright holder

Previously maintained by Javier Luraschi (0.2.0 to 0.2.3).

Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.6Latest
    record
    2022-02-28 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.5
    record
    2020-12-18 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.3
    record
    2018-12-19 · diff ↗
  • 0.2.2
    record
    2018-05-30 · diff ↗
  • 0.2.1
    record
    2018-05-29 · diff ↗
  • 0.2.0
    record
    2018-05-29
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-05-29
Total releases
6 / 8 yrs
License
BSD_3_clause + file LICENSE OSI
Minimum R
≥ 3.1.2
Download size
4.1 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("r2d3")
Strayer, N., Allaire, J., Bostock, M., Luraschi, J., & RStudio, . (2022). r2d3: Interface to 'D3' Visualizations (Version 0.2.6) [Computer software]. https://doi.org/10.32614/CRAN.package.r2d3

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for r2d3 version 0.2.6 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy