plotly
4.12.1Create Interactive Web Graphics via 'plotly.js'
Overview
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.
- Completed the
plot_ly()documentation for what happens whentypeis 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 toreticulate, 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
- 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
Earlier advisories (1)Hide earlier advisories (1)
- RSEC-2025-1Risk of __proto__ pollution Vulnerability2.0.2 to 4.11.0, fixed in 4.12.0, 2025-12-23, CVE-2023-46308 Critical 9.8
Documentation
- 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
Repository
- 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
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
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.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-10-11 · The repository has a site deploy workflow
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-01-19Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: CLAUDE.mdPull request it wrote: opened by a project memberCommits: at least 9 crediting it in the message
- Copilot code reviewCommits: at least 1 accepting its review suggestions
- Claude Opus 4.59 commits · Jan 2026
Dependencies
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.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 349 more dependents and 262 packages that suggest it on CRAN ↗
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 4.12.1Latest
- RR 4.6.0 released · 2026-04-24
- 4.12.02026-01-24 · diff ↗
- 4.11.0◆2025-06-19 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 4.10.4◆2024-01-13 · diff ↗
- 4.10.3◆2023-10-22 · diff ↗
- 4.10.2◆2023-06-03 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 4.10.1◆2022-11-07 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 4.10.0◆
- 4.9.4.1◆2021-06-18 · diff ↗
- 4.9.4◆2021-06-08 · diff ↗
- RR 4.1.0 released · 2021-05-18
Show 26 earlier eventsHide 26 earlier events
- unarchivedReturned to CRAN2021-01-10
- 4.9.3◆2021-01-10 · diff ↗
- orphanedOrphaned by its maintainer2020-12-19check problems were not corrected in time Failed to recognize Quartz-based bitmap devices
- 4.9.2.2◆2020-12-19 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 4.9.2.1◆2020-04-04 · diff ↗
- 4.9.2◆
- 4.9.1◆2019-11-07 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 4.9.0◆
- 4.8.0◆2018-07-20 · diff ↗ ·
removed 3 exports
get_l, get_x, get_yadded 6 exports
TeX, add_sf, add_table, highlight_key, orca, partial_bundle - RR 3.5.0 released · 2018-04-23
- 4.7.1◆
- 4.7.0◆
- 4.6.0◆2017-04-25 · diff ↗ ·
removed 1 export
knit_print.plotly_figureadded 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 - RR 3.4.0 released · 2017-04-21
- 4.5.6◆2016-11-12 · diff ↗
- 4.5.2◆2016-09-26 · diff ↗ ·
removed 3 exports
knit_print.figure, knit_print.plotly_built, knit_print.plotly_hashadded 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◆2016-05-18 · diff ↗ ·
removed 1 export
knit_print.plotlyadded 2 exports
knit_print.plotly_built, knit_print.plotly_hash - RR 3.3.0 released · 2016-05-03
- 3.4.13◆2016-04-12 · diff ↗
- 3.4.1◆2016-03-14 · diff ↗ ·
removed 4 exports
ggplot_build2, group2NA, layer2traces, paramORdefaultadded 4 exports
as.widget, event_data, geom2trace, to_basic - 2.0.16◆2015-12-20 · diff ↗
- 2.0.3◆2015-11-25 · diff ↗
- 2.0.2◆2015-11-17
- RR 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.
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.