plotly: Create Interactive Web Graphics via 'plotly.js'

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.

Version: 4.12.1
Depends: R (≥ 3.5.0), ggplot2 (≥ 3.0.0)
Imports: tools, scales, httr (≥ 1.3.0), jsonlite (≥ 1.6), magrittr, digest, viridisLite, base64enc, htmltools (≥ 0.3.6), htmlwidgets (≥ 1.5.2.9001), tidyr (≥ 1.0.0), RColorBrewer, dplyr, vctrs, tibble, rlang (≥ 1.0.0), crosstalk, purrr, data.table, promises
Suggests: MASS, maps, hexbin, ggthemes, GGally, ggalluvial, testthat, knitr, shiny (≥ 1.1.0), shinytest2, curl, rmarkdown, Cairo, broom, webshot, listviewer, dendextend, sf, png, IRdisplay, processx, plotlyGeoAssets, forcats, withr, palmerpenguins, rversions, reticulate, rsvg, ggridges
Published: 2026-07-22
DOI: 10.32614/CRAN.package.plotly
Author: Carson Sievert ORCID iD [aut, cre], Chris Parmer [aut], Toby Hocking [aut], Scott Chamberlain [aut], Karthik Ram [aut], Marianne Corvellec ORCID iD [aut], Pedro Despouy [aut], Salim Brüggemann ORCID iD [ctb], Plotly Technologies Inc. [cph]
Maintainer: Carson Sievert <cpsievert1 at gmail.com>
BugReports: https://github.com/plotly/plotly.R/issues
License: MIT + file LICENSE
URL: https://plotly-r.com, https://github.com/plotly/plotly.R, https://plotly.com/r/
NeedsCompilation: no
Citation: plotly citation info
Materials: README, NEWS
In views: DynamicVisualizations, WebTechnologies
CRAN checks: plotly results

Documentation:

Reference manual: plotly.html , plotly.pdf

Downloads:

Package source: plotly_4.12.1.tar.gz
Windows binaries: r-devel: plotly_4.12.1.zip, r-release: plotly_4.12.1.zip, r-oldrel: plotly_4.12.1.zip
macOS binaries: r-release (arm64): plotly_4.12.1.tgz, r-oldrel (arm64): plotly_4.12.1.tgz, r-release (x86_64): plotly_4.12.1.tgz, r-oldrel (x86_64): plotly_4.12.1.tgz
Old sources: plotly archive

Reverse dependencies:

Reverse depends: cdparcoord, Eagle, epimdr2, ExpAnalysis3d, Greymodels, heatmaply, hypercube, iCellR, multichull, navigation, neodistr, normfluodbf, optimos.prime, personalized, PlotBivInvGaus, ProjectManagement, ridgregextra, shinyHugePlot, success, TestGardener, TPLSr, VizModules, WPKDE
Reverse imports: AbSolution, actfts, AdaptGauss, AeRobiology, AirportProblems, airship, aNCA, animbook, ANOVAIREVA, antaresViz, APIS, archeoViz, arulesViz, AtmChile, autoplotly, AutoScore, autoTS, BayesianNetwork, bayprior, BCEA, betaclust, bgfanalyzer, bibliometrix, BIGL, BioThermR, bipl5, birddog, blsBandit, boinet, boxly, bridger2, BsplineQuantRegGui, burakDiagrams, CA3variants, CALANGO, CalcThemAll.PRM, CaPO4Sim, cartograflow, cataScience, catmaply, cats, CAvariants, CCWeights, Certara.DarwinReporter, Certara.ModelResults, Certara.R, Certara.VPCResults, cheem, ChemoSpec, ChemoSpecUtils, ChestVolume, chronicle, CICA, cities, clinDataReview, clusEvol, ClustAssess, coefplot, cofad, CohortPlat, colordistance, colorfindr, colorrepel, compIndexBuilder, compstatslib, CopulaCenR, CoreMicrobiomeR, correlationfunnel, corrViz, covid19.analytics, covid19sf, cryptoQuotes, cutpoint, cylcop, CytoSimplex, DA, data4health, datacleanr, datamedios, deaR, DeltaTools, dendroTools, DEploid, dfrr, diegr, directPA, DisasterAlert, discoveR, ditwahLandslide, diveMove, DIVINE, DrivePlotR, drugDemand, DSAIDE, DSAIRM, DynNom, eAnalytics, earthUI, easylabel, easysurv, ecocbo, ecr, effectplots, EHRtemporalVariability, enpls, eoffice, episomer, epiviz, epiworldRShiny, eRTG3D, estadistica, eventPred, EventPredInCure, evoTS, evprof, exmort, explainer, explore, FARS, fastTopics, fChange, FCtools, fdapaceShiny, FielDHub, fingerPro, fitlandr, flex, fluxtools, FoRDM, forensicolors, FORTLS, funresMech, G2Sd, ganttify, gap, GCEstim, geocmeans, geoheatmap, geomorph, ggenealogy, ggmosaic2, ggpedigree, ggplotgui, ggquickeda, ggResidpanel, GLBFP, glmmSeq, GMDH2, godley, GPflexViz, gprofiler2, greeks, greenR, gwid, gwpcormapper, healthyR, healthyR.ts, hierNest, HIViz, hydrotoolbox, hydroToolkit, hyper.gam, iglu, ILORA, iMediate, inDAGO, inventorize, iraceplot, Isinglandr, iSTATS, ixsurface, kesernetwork, kindisperse, latentcor, LCMSQA, lessR, lfproQC, lgspline, LLMAgentR, locuszoomr, lomb, lrstat, lsirm12pl, MapperAlgo, mappingAS, mappoly, MarineChain, matman, MCAvariants, memapp, MendelianRandomization, metainsight, metalite.sl, MetAlyzer, metaquant, mfcurve, mgwrsar, midi, misspi, mixtools, mizer, MLmorph, mmaqshiny, Modelcharts, modeltime, modeltime.resample, modsem, mpwR, mqqcause, mqqr, MRZero, MTest, multiDoE, multilevelcoda, MultivariateAnalysis, MVN, myClim, NCA, neptune, NHSRplotthedots, NIMAA, oceanmap, octawave, onemap, OpenSpecy, pandemonium, ParCC, PDEnaiveBayes, PERK, pguIMP, phase, phecodemap, pingers, PKbioanalysis, PlateVision, polarisR, PPQplan, ppseq, predictmeans, pressfreedom, previsionio, processmapR, processpredictR, ProjectionBasedClustering, projectLSA, protti, proximetricsR, PSTR, puff, qqkrls, QuantileOnQuantile, quickOutlier, quollr, r6qualitytools, radiant.data, rassta, RawHummus, RchivalTag, refuginator, refund.shiny, regMR, regress3d, ReliaPlotR, rENA, revtools, rfm, ribiosGraph, richCluster, RLumShiny, Rmfrac, RMixtComp, RMixtCompUtilities, rmoo, rMultiNet, Rnmr1D, roahd, RobustFlow, roptions, rPackedBar, rrr, RSDA, RSP, rsurface, RTL, ruminate, rwicc, sae4health, scanCP, scR, sdbuildR, SEAHORS, sendigR, SensMap, Seurat, sglg, sherlock, shinipsum, shinyCLT, shinyHeatmaply, shinyMixR, shinyML, shinymodels, ShinyQuickStarter, shinyr, SIAmodules, Sie2nts, simlandr, SIMle, SimSurvey, SkeletalVis, skytrackr, SPARTAAS, SpatFD, specmine, spinifex, Spower, SqueakR, squid, StatTeacherAssistant, SteppedPower, strvalidator, survidm, sync3d, tabledown, tagtools, tall, tcgaViz, TCIU, tcpl, teal.slice, tidyCDISC, TidyDensity, tidygate, tidyseurat, tidyspec, timetk, tolerance, topoDistance, trace, trackeRapp, tsibbletalk, TSstudio, tsviz, ttservice, TUGLab, ui, ume, umiAnalyzer, UnalR, upsetly, valdrViz, validmind, VertexWiseR, viewpoly, visa, visATC, vismi, vistime, Visualize.CRAN.Downloads, vivaldi, volcano3D, weibulltools, wilson, wqrr, wqtrends, Xplortext, xvm, yuimaGUI, ZetaSuite
Reverse suggests: accept, afcharts, AIDA, AQIR, artma, AssociationExplorer2, asteRisk, bamm, BeeBDC, bGMYC4, bidser, bigstatsr, BioTooltipR, boodist, brand.yml, camtrapR, cancerradarr, CausalMixGPD, cellGeometry, chaidr, CIARA, circularEV, CiteSource, cito, clinUtils, closecity, clustcurv, clusterability, CNVScope, CohortCharacteristics, cols4all, ComBatFamQC, commons, ConsensusOPLS, ConsRank, contentanalysis, contsurvplot, coronavirus, countryatlas, coveffectsplot, covid19br, cowfootR, crystract, cSEM, cubble, curves, cvdprevent, dartR, dartR.base, DataExplorer, dataganger, dataquieR, DataVisualizations, deaviz, DImodelsVis, dittoViz, DrData, DRomics, DRquality, DrugExposureDiagnostics, DrugUtilisation, EDCimport, EIAapi, enviGCMS, EpiModel, EpiQuestionR, epmfd, esquisse, fastml, fcaR, FCPS, FitVerse, fixes, flipr, formods, formr, forrel, fqardl, frailtyEM, GeneralizedUmatrix, GeneralizedUmatrixGPU, genieBPC, geslaR, ggchangepoint, ggchord, ggfacto, ggmice, ggpaintr, ggsurveillance, ggvariant, ggVennDiagram, ggWebGL, gsClusterDetect, GTFSwizard, h2o, healthyR.ai, heteroTests, HistData, Hmisc, hmsidwR, HOME, HVT, HYPEtools, IceSat2R, icomb, idbr, inferCSN, innsight, irid, jmSurface, kDGLM, langevitour, LearnPCA, lessSEM, LightLogR, linf, linkeR, LipidMS, lnmixsurv, LUCIDus, Luminescence, MagmaClustR, MAIHDA, manipulateWidget, manureshed, marimekko, mellio, MetricGraph, MiscMetabar, MitoHEAR, mlr3spatiotempcv, MMAC, MMOC, moderndive, mort, mosaicCalc, mpactr, mvSUSY, mwmap, NetSurvProx, NeuralSens, ngme2, OmicNavigator, OmopSketch, OmopViewer, onlineforecast, optedr, OptSurvCutR, orbitr, palimpsestr, parcats, PaRe, pcadapt, pctax, pcutils, penfa, PerformanceAnalytics, phenocamr, PhenotypeR, PiC, plotdap, plotlsirm, plotthis, pmartR, PnT, positron.tutorials, PoweREST, purgeR, pvLRT, quartabs, quarto, rabhit, Racmacs, RAINBOWR, RaMS, ravecore, rbranding, RcmdrPlugin.EZR, RegimeChange, rerddap, retentionflow, Rhobots, ribd, riemannianStats, Rilostat, riskutility, rliger, rms, RMSTpowerBoost, Rnaught, rtemis, rwalkr, ScatterDensity, scDiffCom, SDModels, searchAnalyzeR, SelfControlledCohort, sentopics, sgplot, SHARK4R, shewhartr, shiny.fluent, shiny.semantic, shiny.telemetry, shinyglass, ShinyItemAnalysis, shinyjqui, shinytest2, shrinkGPR, SignalY, smoof, snotelr, soilKey, spqrp, staat1cho, staRdom, starling, stdbscan, strand, stratifyR, sugrrants, surveyPrev, survSampleSize, synr, talib, tbl.now, TextAnalysisR, textAnnotatoR, themescopeR, tinyshinyserver, topolow, tourr, TreatmentPatterns, TreeDist, treefit, trelliscopejs, twinsvm, UCSCXenaShiny, USgas, USgrid, vectorialcalculus, vetiver, vibass, villager, visdat, ViSe, visOmopResults, visual.kaito, vitopack, windfarmGA, WRTDStidal, WVPlots, xplorerr, xpose, ycevo
Reverse enhances: matrixCorr, plotlyGeoAssets, repr

Linking:

Please use the canonical form https://CRAN.R-project.org/package=plotly to link to this page.