To cite package ‘d3r’ in publications use:

Bostock M, Russell K, Aisch G, Pearce A (2023). d3r: 'd3.js' Utilities for R. R package version 1.1.0, https://github.com/timelyportfolio/d3r.

Corresponding BibTeX entry:

  @Manual{,
    title = {d3r: 'd3.js' Utilities for R},
    author = {Mike Bostock and Kent Russell and Gregor Aisch and Adam
      Pearce},
    year = {2023},
    note = {R package version 1.1.0},
    url = {https://github.com/timelyportfolio/d3r},
  }