Skip to content

plotly

4.12.1

Create Interactive Web Graphics via 'plotly.js'

397packages dependsuggested by 262
3.4Mdownloads / year
67.8%test coverage
13/13flavors OK

Overview

About

Create interactive web graphics from 'ggplot2' graphs and/or a custom interface to the (MIT-licensed) JavaScript library 'plotly.js' inspired by the grammar of graphics.

Changes in 4.12.1
  • Completed the plot_ly() documentation for what happens when type is not specified (#2362).
  • Removed the dependency on the {lazyeval} package.

Bug fixes

  • Closed #2483: save_image() no longer embeds Windows file paths directly into Python source passed to reticulate, fixing static image export with Kaleido on Windows.
  • #2495: ggplotly() now keeps merged legend titles in sync with their legend entries, fixing a case where an upstream change in {rlang}'s hashing could silently reorder combined legend titles (e.g. factor(vs)<br />factor(cyl)) out of step with the entries they label.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 10.4 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-09-30
  • ERROR12 OK, 1 ERROR2026-09-29
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-30
Show 5 earlier changesHide 5 earlier changes
  • ERROR12 OK, 1 ERROR2026-07-06
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories
Earlier advisories (1)Hide earlier advisories (1)
  • RSEC-2025-1Risk of __proto__ pollution Vulnerability
    2.0.2 to 4.11.0, fixed in 4.12.0, 2025-12-23, CVE-2023-46308 Critical 9.8

Documentation

In release 4.12.1
READMEYes · 406 wordsVignettesNoNEWSYes · 100% structured · mentions 4.12.1Citation fileYes · cites a publicationWebsiteYes
Help pages
72 (3 internal)
Examples that run
67%24 run in a plain check (24 of them under a condition) · 12 never run
Exported functions with examples
58%
Documented parameters
97%
Return-value docs
13%
Help pages citing references
17%

Also includes 26 demo scripts (run with demo())

Downloads

3.4M
CRAN downloads in the past year
Rank #193 · ~9.2K/day · ~280K/mo
Daily download trend is not available in this view yet.
254.1K30 days
862.1K90 days
3.4M1 year
Compare downloads with other packages →
Also on53.7K r2u155 autocran299.5K conda_forge755 bioconda1.4K c2d4u

Repository

2,684Stars
640Forks
716Open issues
46Open PRs
26Releases
3,941Commits
67Commit identities
rggplot2javascriptdata-visualizationd3jsshinyplotlywebgl
3,941 commits · Last activity 2026-07-25 · +0.1% stars, 30d · Discussions: 9 posts
Responsiveness
How these are sampled
PRs merged (all time)
82%
Median days to close, 50 most recently updated closed issues
40
Median days to close, 50 most recently updated closed PRs
3

Stars over time

2026-07-14 · 2,6692026-10-15 · 2,684
PracticesBeta

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

Checks run against github.com/plotly/plotly.r on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conductContributing guideIssue templates

The repository owner accepts GitHub Sponsors

Docs source (2)

GitHub Pages site last deployed 2026-10-11 · The repository has a site deploy workflow

Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-01-19
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 9 crediting it in the message
Review tools
  • Copilot code review
    Commits: at least 1 accepting its review suggestions
Models named in its commits
  • Claude Opus 4.59 commits · Jan 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
48 external dependencies (excludes base and recommended)

Installing plotly adds 63 packages (35 with compiled code, 58 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (2)
R >= 3.5.0ggplot2
LinkingTo (0)
none
Enhances (0)
none

Datasets

People & History

People (9)
Author, Maintainer since 2.0.2 (2015)
Contributor · added in 4.9.3
Copyright holder · added in 4.6.0
Releases (28)

Pick two releases to compare their code metrics.

Show 26 earlier eventsHide 26 earlier events
  • unarchivedReturned to CRAN
    2021-01-10
  • 4.9.3◆
    record
    2021-01-10 · diff ↗
  • orphanedOrphaned by its maintainer
    2020-12-19
    check problems were not corrected in time Failed to recognize Quartz-based bitmap devices
  • 4.9.2.2◆
    record
    2020-12-19 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 4.9.2.1◆
    record
    2020-04-04 · diff ↗
  • 4.9.2◆
    record
    2020-02-12 · diff ↗ ·
    added 1 export
    add_image
  • 4.9.1◆
    record
    2019-11-07 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 4.9.0◆
    record
    2019-04-10 · diff ↗ ·
    added 3 exports
    event_register, event_unregister, orca_serve
  • 4.8.0◆
    record
    2018-07-20 · diff ↗ ·
    removed 3 exports
    get_l, get_x, get_y
    added 6 exports
    TeX, add_sf, add_table, highlight_key, orca, partial_bundle
  • R
    R 3.5.0 released · 2018-04-23
  • 4.7.1◆
    record
    2017-07-29 · diff ↗ ·
    added 3 exports
    plotlyProxy, plotlyProxyInvoke, plotly_example
  • 4.7.0◆
    record
    2017-05-28 · diff ↗ ·
    added 4 exports
    get_l, get_x, get_y, group2NA
  • 4.6.0◆
    record
    2017-04-25 · diff ↗ ·
    removed 1 export
    knit_print.plotly_figure
    added 16 exports
    animation_button, animation_opts, animation_slider, api, api_create, api_download_grid, api_download_plot, attrs_selected, highlight, knit_print.api_grid, knit_print.api_grid_local, knit_print.api_plot, plot_dendro, raster2uri, remove_typedarray_polyfill, showRGB
  • R
    R 3.4.0 released · 2017-04-21
  • 4.5.6◆
    record
    2016-11-12 · diff ↗
  • 4.5.2◆
    record
    2016-09-26 · diff ↗ ·
    removed 3 exports
    knit_print.figure, knit_print.plotly_built, knit_print.plotly_hash
    added 61 exports
    add_annotations, add_area, add_bars, add_boxplot, add_choropleth, add_contour, add_data, add_fun, add_heatmap, add_histogram, add_histogram2d, add_histogram2dcontour, add_lines, add_markers, add_mesh, add_paths, add_pie, add_polygons, add_ribbons, add_scattergeo, add_segments, add_surface, add_text, arrange, arrange_, as_widget, colorbar, distinct, distinct_, do and 31 more
  • 3.6.0◆
    record
    2016-05-18 · diff ↗ ·
    removed 1 export
    knit_print.plotly
    added 2 exports
    knit_print.plotly_built, knit_print.plotly_hash
  • R
    R 3.3.0 released · 2016-05-03
  • 3.4.13◆
    record
    2016-04-12 · diff ↗
  • 3.4.1◆
    record
    2016-03-14 · diff ↗ ·
    removed 4 exports
    ggplot_build2, group2NA, layer2traces, paramORdefault
    added 4 exports
    as.widget, event_data, geom2trace, to_basic
  • 2.0.16◆
    record
    2015-12-20 · diff ↗
  • 2.0.3◆
    record
    2015-11-25 · diff ↗
  • 2.0.2◆
    record
    2015-11-17
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-11-17
Total releases
28 / 11 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
534 KB / 4 files
Download size
4.5 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("plotly")

The package provides a citation file, so citation() returns the authors' own entry.

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 plotly version 4.12.1 [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