To cite plotly in publications use:

Carson Sievert (2018) plotly for R. https://plotly-r.com

Corresponding BibTeX entry:

  @Manual{,
    title = {plotly for R},
    author = {Carson Sievert},
    year = {2018},
    url = {https://plotly-r.com},
  }