# Plotly for R

> Interactive web graphics in R, built on plotly.js

Source: https://talira.ai/catalog/plotly-for-r-rkww6a9b
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / charts](https://talira.ai/categories/libraries/charts), [languages / r](https://talira.ai/categories/languages/r)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Plotly](https://talira.ai/orgs/plotly.md)

plotly is an R package for interactive web graphics built on the plotly.js JavaScript charting library, the R counterpart of [Plotly.py](https://talira.ai/catalog/plotly-py-w7aa71ey.md). Its ggplotly() function turns a static [ggplot2](https://talira.ai/catalog/ggplot2-9zy5mry6.md) plot into an interactive web chart, and plot_ly() is a direct interface to plotly.js inspired by the grammar of graphics. It adds client-side linking between views, Shiny integration, static image export and custom JavaScript events, with Shiny and R Markdown examples in the package. Carson Sievert maintains it, and Plotly Technologies holds its copyright.

## Links

- Website: https://plotly.com/r/
- GitHub: https://github.com/plotly/plotly.R
- Docs: https://plotly-r.com/

## Problems it solves

- make my ggplot2 charts interactive with hover and zoom in R
- add interactive charts to a Shiny app or R Markdown report
- build interactive web graphics in R without writing JavaScript

## Features

- ggplotly() turns ggplot2 plots into interactive web charts
- plot_ly() interface to plotly.js
- client-side linking between views
- Shiny integration
- static image export
- custom JavaScript events

## Limitations

- Maintained by the Plotly community rather than Plotly's own team.[^1]

## Trust

Overall: 0.39 out of 1.
Signals: maintenance 0.27, adoption 0.69, momentum 0.38, community 0.73, backing 0.30, extensibility 0.00.

- latest release v4.12.1 4 months ago
- 2.7k GitHub stars
- 67 contributors
- backed by Plotly

Warnings:

- last commit 4 months ago

## Related

- Works with [ggplot2](https://talira.ai/catalog/ggplot2-9zy5mry6.md)
- Based on [Plotly.js](https://talira.ai/catalog/plotly-js-3gr0dec6.md)

## Sources

[^1]: https://github.com/plotly/plotly.R/blob/master/README.md (checked 28 Nov 2026)
