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

Easily translate 'ggplot2' graphs to an interactive web-based version and/or create custom web-based visualizations directly from R. Once uploaded to a 'plotly' account, 'plotly' graphs (and the data behind them) can be viewed and modified in a web browser.

Browse man pages Browse package API and functions Browse package files

AuthorCarson Sievert [aut, cre], Chris Parmer [aut], Toby Hocking [aut], Scott Chamberlain [aut], Karthik Ram [aut], Marianne Corvellec [aut], Pedro Despouy [aut], Plotly Technologies Inc. [cph]
Date of publication2017-04-25 05:43:58 UTC
MaintainerCarson Sievert <cpsievert1@gmail.com>
LicenseMIT + file LICENSE
Version4.6.0
URL https://plot.ly/r https://cpsievert.github.io/plotly_book/ https://github.com/ropensci/plotly
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("plotly")

Man pages

add_annotations: Add an annotation(s) to a plot
add_data: Add data to a plotly visualization
add_fun: Apply function to plot, without modifying data
add_trace: Add trace(s) to a plotly visualization
animation: Animation configuration options
api: Tools for working with plotly's REST API (v2)
as_widget: Convert a list to a plotly htmlwidget object
as.widget: Convert a plotly object to an htmlwidget object
attrs_selected: Specify attributes of selection traces
bbox: Estimate bounding box of a rotated string
colorbar: Modify the colorbar
config: Set the default configuration for plotly
embed_notebook: Embed a plot as an iframe into a Jupyter Notebook
event_data: Access plotly user input event data in shiny
export: Export a plotly graph to a static file
geom2trace: Convert a "basic" geoms to a plotly.js trace.
get_figure: Request a figure object
gg2list: Convert a ggplot to a list.
ggplotly: Convert ggplot2 to plotly
hide_colorbar: Hide color bar(s)
hide_guides: Hide guides (legends and colorbars)
hide_legend: Hide legend
highlight: Query graphical elements in multiple linked views
hobbs: Hobbs data
knit_print.api_grid: Embed a plotly grid as an iframe in a knitr doc
knit_print.api_grid_local: Embed a plotly grid as an iframe in a knitr doc
knit_print.api_plot: Embed a plotly figure as an iframe in a knitr doc
last_plot: Retrieve the last plot to be modified or created.
layout: Modify the layout of a plotly visualization
mic: Mic data
offline: Plotly Offline
plot_dendro: Plot an interactive dendrogram
plot_geo: Initiate a plotly-geo object
plotly: Main interface to plotly
plot_ly: Initiate a plotly visualization
plotly_build: 'Build' (i.e., evaluate) a plotly object
plotly_data: Obtain data associated with a plotly graph
plotly_empty: Create a complete empty plotly graph.
plotly_IMAGE: Create a static image
plotly_json: Inspect JSON sent to plotly.js
plotly_POST: Create/Modify plotly graphs
plotly-shiny: Shiny bindings for plotly
plot_mapbox: Initiate a plotly-mapbox object
print.api: Print method for a 'generic' API response
print.api_grid: Print a plotly grid object
print.api_grid_local: Print a plotly grid object
print.api_plot: Print a plot on plotly's platform
rangeslider: Add a range slider to the x-axis
raster2uri: Convert a raster object to a data URI
reexports: Objects exported from other packages
remove_typedarray_polyfill: Remove TypedArray polyfill
schema: Display plotly's plot schema
showRGB: View colors already formatted by toRGB()
signup: Create a new plotly account.
style: Modify trace(s)
subplot: View multiple plots in a single view
to_basic: Convert a geom to a "basic" geom.
toRGB: Convert R colours to RGBA hexadecimal colour values
toWebGL: Convert trace types to WebGL
wind: Wind data

Functions

\%>\% Man page
add_annotations Man page Source code
add_area Man page Source code
add_bars Man page Source code
add_boxplot Man page Source code
add_choropleth Man page Source code
add_contour Man page Source code
add_data Man page Source code
add_fun Man page Source code
add_heatmap Man page Source code
add_histogram Man page Source code
add_histogram2d Man page Source code
add_histogram2dcontour Man page Source code
add_lines Man page Source code
add_markers Man page Source code
add_mesh Man page Source code
add_paths Man page Source code
add_pie Man page Source code
add_polygons Man page Source code
add_ribbons Man page Source code
add_scattergeo Man page Source code
add_segments Man page Source code
add_surface Man page Source code
add_text Man page Source code
add_trace Man page Source code
add_trace_classed Source code
aes2plotly Source code
animation Man page
animation_button Man page Source code
animation_button_create Source code
animation_button_supply Source code
animation_opts Man page Source code
animation_opts_defaults Source code
animation_opts_format Source code
animation_slider Man page Source code
animation_slider_create Source code
animation_slider_supply Source code
api Man page Source code
api_auth Source code
api_check_endpoint Source code
api_create Man page Source code
api_create.data.frame Man page
api_create.ggplot Man page
api_create.plotly Man page
api_create_grid Source code
api_create_plot Source code
api_download_file Source code
api_download_grid Man page Source code
api_download_plot Man page Source code
api_endpoints Source code
api_expect_filetype Source code
api_grid_url Source code
api_headers Source code
api_lookup_file Source code
api_pave_path Source code
api_plot_url Source code
api_srcify Source code
api_trash_file Source code
api_trash_filename Source code
append_class Source code
arrange Man page
arrange_ Man page
arrange_.plotly Man page Source code
arrange_safe Source code
as.widget Man page Source code
as_df Source code
as_widget Man page Source code
attrs_name_check Source code
attrs_selected Man page Source code
bbox Man page Source code
bold Source code
br Source code
cat_profile Source code
colorbar Man page Source code
colorbar_built Source code
colourPickerLib Source code
compact Source code
config Man page Source code
crosstalk_key Source code
default Source code
depPath Source code
deparse2 Source code
df2grid Source code
distinct Man page
distinct_ Man page
distinct_.plotly Man page Source code
do Man page
do_ Man page
do_.plotly Man page Source code
dots2plots Source code
easingOpts Source code
embed_notebook Man page Source code
embed_notebook.plotly Source code
ensure_one Source code
eval_attr Source code
event_data Man page Source code
export Man page Source code
faced Source code
filter Man page
filter_ Man page
filter_.plotly Man page Source code
fortify.SharedData Source code
from_JSON Source code
gdef2trace Source code
geo2cartesian Source code
geom2trace Man page Source code
geom2trace.GeomBar Source code
geom2trace.GeomBlank Source code
geom2trace.GeomBoxplot Source code
geom2trace.GeomErrorbar Source code
geom2trace.GeomErrorbarh Source code
geom2trace.GeomPath Source code
geom2trace.GeomPoint Source code
geom2trace.GeomPolygon Source code
geom2trace.GeomText Source code
geom2trace.GeomTile Source code
geom2trace.default Source code
getLevels Source code
get_domain Source code
get_domains Source code
get_figure Man page Source code
get_kwargs Source code
get_xy Source code
gg2list Man page Source code
gg2list_legacy Source code
ggfun Source code
ggplot.plotly Source code
ggplotly Man page Source code
ggplotly.ggmatrix Source code
ggplotly.ggplot Source code
ggplotly.plotly Source code
ggtype Source code
glTypes Source code
grab Source code
group2NA Source code
group_by Man page
group_by_ Man page
group_by_.plotly Man page Source code
groups Man page
groups.plotly Man page Source code
has_attr Source code
has_colorbar Source code
has_facet Source code
has_group Source code
has_legend Source code
has_line Source code
has_marker Source code
has_text Source code
hide_colorbar Man page Source code
hide_guides Man page Source code
hide_legend Man page Source code
highlight Man page Source code
highlight_defaults Source code
hobbs Man page
hover_on Source code
i Source code
is.colorbar Source code
is.default Source code
is.discrete Source code
is.evaled Source code
is.file Source code
is.formula Source code
is.grid Source code
is.plot Source code
is.plotly Source code
is.webgl Source code
is3d Source code
is_ani_button Source code
is_ani_slider Source code
is_blank Source code
is_geo Source code
is_mapbox Source code
is_subplot Source code
is_tidy Source code
is_type Source code
italic Source code
json_content Source code
knit_print.api_grid Man page Source code
knit_print.api_grid_local Man page Source code
knit_print.api_plot Man page Source code
last_plot Man page Source code
layers2layout Source code
layers2traces Source code
layout Man page Source code
layout.matrix Source code
layout.plotly Source code
layout.shiny.tag.list Source code
list2df Source code
lty2dash Source code
make_error Source code
make_label Source code
make_panel_border Source code
make_strip_rect Source code
map_color Source code
map_linetype Source code
map_size Source code
map_symbol Source code
mapbox_token Source code
mic Man page
mm2pixels Source code
modify_list Source code
mutate Man page
mutate_ Man page
mutate_.plotly Man page Source code
names2 Source code
new_id Source code
npscales Source code
offline Man page Source code
pch2symbol Source code
plot_dendro Man page Source code
plot_geo Man page Source code
plot_ly Man page Source code
plot_mapbox Man page Source code
plot_store Source code
plotly Man page Source code
plotly-shiny Man page
plotlyOutput Man page Source code
plotly_IMAGE Man page Source code
plotly_POST Man page Source code
plotly_build Man page Source code
plotly_build.gg Source code
plotly_build.list Source code
plotly_build.plotly Source code
plotly_data Man page Source code
plotly_empty Man page Source code
plotly_iframe Source code
plotly_json Man page Source code
populate_categorical_axes Source code
prefix_class Source code
print.api Man page Source code
print.api_grid Man page Source code
print.api_grid_local Man page Source code
print.api_plot Man page Source code
process Source code
process.api_image Source code
process.api_plot Source code
process.default Source code
rangeslider Man page Source code
raster2uri Man page Source code
rect2shape Source code
reexports Man page
registerFrames Source code
relay_error Source code
relay_type Source code
remove_class Source code
remove_typedarray_polyfill Man page Source code
rename Man page
rename_ Man page
rename_.plotly Man page Source code
renderPlotly Man page Source code
replace_class Source code
reposition Source code
retrain_color_defaults Source code
rgb2hex Source code
ribbon_dat Source code
rm_asis Source code
schema Man page Source code
select Man page
select_ Man page
select_.plotly Man page Source code
selectizeLib Source code
set_last_plot Source code
sharingButton Source code
showRGB Man page Source code
signup Man page Source code
slice Man page
slice_ Man page
slice_.plotly Man page Source code
special_attrs Source code
split_on Source code
strip_alpha Source code
style Man page Source code
subplot Man page Source code
summarise Man page
summarise_ Man page
summarise_.plotly Man page Source code
supplyUserPalette Source code
supply_defaults Source code
supply_highlight_attrs Source code
text2font Source code
toRGB Man page Source code
toWebGL Man page Source code
to_JSON Source code
to_basic Man page Source code
to_basic.GeomAbline Source code
to_basic.GeomAnnotationMap Source code
to_basic.GeomArea Source code
to_basic.GeomBoxplot Source code
to_basic.GeomCol Source code
to_basic.GeomContour Source code
to_basic.GeomCrossbar Source code
to_basic.GeomDensity Source code
to_basic.GeomDensity2d Source code
to_basic.GeomDotplot Source code
to_basic.GeomErrorbar Source code
to_basic.GeomErrorbarh Source code
to_basic.GeomHex Source code
to_basic.GeomHline Source code
to_basic.GeomJitter Source code
to_basic.GeomLine Source code
to_basic.GeomLinerange Source code
to_basic.GeomMap Source code
to_basic.GeomPointrange Source code
to_basic.GeomQuantile Source code
to_basic.GeomRaster Source code
to_basic.GeomRasterAnn Source code
to_basic.GeomRect Source code
to_basic.GeomRibbon Source code
to_basic.GeomRug Source code
to_basic.GeomSegment Source code
to_basic.GeomSmooth Source code
to_basic.GeomSpoke Source code
to_basic.GeomStep Source code
to_basic.GeomTile Source code
to_basic.GeomViolin Source code
to_basic.GeomVline Source code
to_basic.default Source code
to_milliseconds Source code
traceColorDefaults Source code
traceify Source code
train_data Source code
translate_linebreaks Source code
transmute Man page
transmute_ Man page
transmute_.plotly Man page Source code
tryFALSE Source code
tryNULL Source code
try_file Source code
try_library Source code
typedArrayPolyfill Source code
ungroup Man page
ungroup.plotly Man page Source code
uniq Source code
unitConvert Source code
verify Source code
verifyUnit Source code
verify_arrays Source code
verify_attr Source code
verify_attr_names Source code
verify_attr_spec Source code
verify_guides Source code
verify_hovermode Source code
verify_key_type Source code
verify_mode Source code
verify_orientation Source code
verify_showlegend Source code
verify_type Source code
verify_webgl Source code
wind Man page

Files

inst
inst/examples
inst/examples/plotlyLinkedBrush
inst/examples/plotlyLinkedBrush/app.R
inst/examples/plotlyEvents
inst/examples/plotlyEvents/app.R
inst/examples/plotlyEvents/DESCRIPTION
inst/examples/printing.Rmd
inst/examples/Movies
inst/examples/Movies/ui.R
inst/examples/Movies/server.R
inst/examples/ternary
inst/examples/ternary/basic.R
inst/examples/plotly3DEvents
inst/examples/plotly3DEvents/app.R
inst/examples/plotlyShinyModules
inst/examples/plotlyShinyModules/app.R
inst/examples/plotlyLinkedClick
inst/examples/plotlyLinkedClick/app.R
inst/examples/plotlyLinkedClick/DESCRIPTION
inst/examples/lmGadget
inst/examples/lmGadget/app.R
inst/examples/UN_Advanced
inst/examples/UN_Advanced/ui.R
inst/examples/UN_Advanced/server.R
inst/examples/UN_Advanced/Data
inst/examples/UN_Advanced/Data/UN_IdealPoints.csv
inst/examples/UN_Advanced/global.R
inst/examples/map_click
inst/examples/map_click/app.R
inst/examples/UN_Simple
inst/examples/UN_Simple/ui.R
inst/examples/UN_Simple/server.R
inst/examples/UN_Simple/Data
inst/examples/UN_Simple/Data/UN_IdealPoints.csv
inst/examples/UN_Simple/global.R
inst/examples/Diamonds
inst/examples/Diamonds/ui.R
inst/examples/Diamonds/server.R
inst/examples/onRenderHover
inst/examples/onRenderHover/index.Rmd
inst/htmlwidgets
inst/htmlwidgets/lib
inst/htmlwidgets/lib/typedarray
inst/htmlwidgets/lib/typedarray/typedarray.min.js
inst/htmlwidgets/lib/typedarray/LICENSE
inst/htmlwidgets/lib/colourpicker
inst/htmlwidgets/lib/colourpicker/colourpicker.min.js
inst/htmlwidgets/lib/colourpicker/colourpicker.min.css
inst/htmlwidgets/lib/colourpicker/LICENSE
inst/htmlwidgets/lib/plotlyjs
inst/htmlwidgets/lib/plotlyjs/plotly-latest.min.js
inst/htmlwidgets/lib/plotlyjs/plotly-htmlwidgets.css
inst/htmlwidgets/lib/plotlyjs/LICENSE
inst/htmlwidgets/lib/selectize
inst/htmlwidgets/lib/selectize/selectize.bootstrap3.css
inst/htmlwidgets/lib/selectize/selectize.min.js
inst/htmlwidgets/plotly.js
inst/htmlwidgets/plotly.yaml
inst/docs.R
inst/stars.R
inst/plotlyjs.R
inst/build-push-comment.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test-plotly-subplot.R
tests/testthat/test-plotly-pie.R
tests/testthat/test-ggplot-density.R
tests/testthat/test-ggplot-vline.R
tests/testthat/test-plotly-color.R
tests/testthat/test-ggplot-col.R
tests/testthat/test-ggplot-hex.R
tests/testthat/test-ggplot-histogram.R
tests/testthat/test-ggplot-boxplot.R
tests/testthat/test-ggplot-size.R
tests/testthat/test-plotly-getfigure.R
tests/testthat/test-plotly-symbol.R
tests/testthat/test-ggplot-dynamicTicks.R
tests/testthat/test-rotated-ticks.R
tests/testthat/test-ggplot-violin.R
tests/testthat/test-ggplot-abline.R
tests/testthat/test-ggplot-polygons.R
tests/testthat/test-ggplot-legend.R
tests/testthat/test-plotly-data.R
tests/testthat/test-ggplot-density2d.R
tests/testthat/test-ggplot-facets.R
tests/testthat/test-ggplot-jitter.R
tests/testthat/test-plotly-group.R
tests/testthat/test-ggplot-ylim.R
tests/testthat/test-ggplot-segment.R
tests/testthat/test-plotly-internals.R
tests/testthat/test-ggplot-contour.R
tests/testthat/test-ggplot-path.R
tests/testthat/test-ggplot-bar.R
tests/testthat/test-ggplot-rect.R
tests/testthat/test-cookbook-scatterplots.R
tests/testthat/test-mean-error-bars.R
tests/testthat/test-plotly-linetype.R
tests/testthat/test-ggplot-rug.R
tests/testthat/test-api.R
tests/testthat/test-ggplot-map.R
tests/testthat/test-plotly-filename.R
tests/testthat/test-animate-highlight.R
tests/testthat/test-ggplot-hline.R
tests/testthat/test-ggplot-labels.R
tests/testthat/test-ggplot-annotation_.R
tests/testthat/test-ggplot-area.R
tests/testthat/test-ggplot-date.R
tests/testthat/test-plotly.R
tests/testthat/test-ggplot-smooth.R
tests/testthat/test-ggplot-blank.R
tests/testthat/test-ggplot-quantile.R
tests/testthat/test-cookbook-axes.R
tests/testthat/test-ggplot-crossbar.R
tests/testthat/test-cookbook-lines.R
tests/testthat/test-ggplot-theme.R
tests/testthat/test-ggplot-heatmap.R
tests/testthat/test-ggplot-tooltip.R
tests/testthat/test-ggplot-errorbar.R
tests/testthat/test-ggplot-ggplotly.R
tests/testthat/test-ggplot-text.R
tests/testthat/test-ggplot-point.R
tests/testthat/test-ggplot-device.R
tests/testthat/test-ggplot-lines.R
tests/testthat/test-ggplot-step.R
tests/testthat/test-ggplot-errorbar-horizontal.R
tests/testthat/test-toRGB.R
tests/testthat/test-ggplot-ticks.R
tests/testthat/test-ggplot-ribbon.R
tests/testthat/test-ggplot-spoke.R
tests/testthat/test-plotly-colorbar.R
NAMESPACE
demo
demo/highlight-binned-target.R
demo/tour-basic.R
demo/filter-dynamic-axis.R
demo/highlight-pipeline.R
demo/filter-lines.R
demo/highlight-subplot.R
demo/shiny
demo/shiny/DT
demo/shiny/DT/app.R
demo/shiny/basic
demo/shiny/basic/app.R
demo/shiny/basic/DESCRIPTION
demo/highlight-intro.R
demo/tour-USArrests.R
demo/00Index
demo/highlight-ggplotly.R
demo/highlight-leaflet.R
demo/highlight-epl.R
demo/highlight-ggpairs.R
NEWS.md
data
data/wind.rda
data/mic.rda
data/hobbs.rda
R
R/plotly_build.R
R/last_plot.R
R/toRGB.R
R/utils.R
R/helpers.R
R/group2NA.R
R/embed.R
R/pipe.R
R/modeBarButtons.R
R/layout.R
R/subplots.R
R/sysdata.rda
R/layers2traces.R
R/plotly_data.R
R/data.R
R/ggplotly-legacy.R
R/dev.R
R/animate.R
R/signup.R
R/shiny.R
R/deprecated.R
R/api.R
R/print.R
R/api_exports.R
R/process.R
R/coord.R
R/export.R
R/style.R
R/plotly.R
R/layers2layout.R
R/add.R
R/highlight.R
R/imports.R
R/plotly_IMAGE.R
R/ggplotly.R
README.md
MD5
DESCRIPTION
man
man/print.api_grid_local.Rd
man/get_figure.Rd
man/event_data.Rd
man/add_annotations.Rd
man/signup.Rd
man/schema.Rd
man/knit_print.api_plot.Rd
man/geom2trace.Rd
man/knit_print.api_grid.Rd
man/attrs_selected.Rd
man/plot_ly.Rd
man/api.Rd
man/plot_mapbox.Rd
man/print.api_plot.Rd
man/to_basic.Rd
man/embed_notebook.Rd
man/plotly.Rd
man/export.Rd
man/hide_guides.Rd
man/hobbs.Rd
man/layout.Rd
man/plot_dendro.Rd
man/animation.Rd
man/plotly_build.Rd
man/raster2uri.Rd
man/plotly_IMAGE.Rd
man/last_plot.Rd
man/rangeslider.Rd
man/ggplotly.Rd
man/add_data.Rd
man/bbox.Rd
man/gg2list.Rd
man/add_trace.Rd
man/as.widget.Rd
man/hide_colorbar.Rd
man/print.api.Rd
man/offline.Rd
man/reexports.Rd
man/remove_typedarray_polyfill.Rd
man/add_fun.Rd
man/plotly_data.Rd
man/knit_print.api_grid_local.Rd
man/plotly_empty.Rd
man/config.Rd
man/toWebGL.Rd
man/highlight.Rd
man/hide_legend.Rd
man/as_widget.Rd
man/colorbar.Rd
man/toRGB.Rd
man/plot_geo.Rd
man/style.Rd
man/print.api_grid.Rd
man/plotly-shiny.Rd
man/plotly_json.Rd
man/wind.Rd
man/subplot.Rd
man/mic.Rd
man/plotly_POST.Rd
man/showRGB.Rd
LICENSE
plotly documentation built on May 19, 2017, 10:07 a.m.