Plotly: Here’s What You Can Do, One Year In
[This article was first published on Plotly Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Plotly is now a year old. We wanted to update you on what you can do, and let you know how other folks are using Plotly. For example, NASA scientists and engineers track satellites with Plotly. Google Chrome ships a Plotly Chrome App for high school students and businesses. Reporters at the Washington Post and Wired explain current events with Plotly. Let’s jump in. You can also see more in our graph feed.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
A Plotly version of a Facebook Data Science team graph shows the age of children on the x axis and the distance between children and mothers on the y axis.
Move your mouse over the graph to see data. You can also zoom by clicking and dragging, or toggle and pan. Every graph is interactive as soon as you make it. We use a JavaScript visualization library called D3.js for your graphs. You don’t have to code to make graphs that are beautiful, interactive, and web-based (though you can if you want).
Plotly is different in a few ways:
- Collaborative Graph, analyze, and stream data with your team
- Cloud-based No downloads or installations
- Flexible Works with Excel, Python, MATLAB, R, and any data or file type
- Comprehensive 2D, 3D, and streaming graphs, plus stats, fits, functions, and data wrangling
Collaboratively make graphs and analyze data with our easy-to-use web app or with APIs for Python, MATLAB, and R. Upload, analyze, and graph data from Excel, Google Docs, Dropbox, csv, txt, MATLAB, SAS, or SPSS files. Or copy and paste data.
Your graphs are online, and can always be embedded in an iframe in your blog, Notebook, or website. The plot above is embedded with this HTML snippet.
<iframe width="450" frameborder="0" seamless="seamless" scrolling="no" src="https://plot.ly/~cimar/38.embed?width=640&height=640"></iframe>
Our Facebook graph, like other plots, is at a URL: https://plot.ly/~cimar/38/. “Cimar” is the username. This was her 38th plot. Plots contain the data, code, and graph, and are in a user profile: plot.ly/~cimar
Here is how the publicly shared version looks. The online graph–the one shown above–is interactive). Every graph and URL has (1) the plot (2) the data and (3) generates code to make and edit your plot in different languages (Python, R, MATLAB, Julia). It is an entirely contained, editable, reproducible figure.
You control your privacy and sharing, can comment on and discuss graphs online, get a profile of your figures, and can use Plotly for version control. It’s like a Google Document for charts and data. Public sharing is and always will be free. See our plans to learn more and learn about our enterprise plans.
You can embed plots in a website, Notebook, or blog using an iframe, like the Washington Post.
Plotly covers many chart types. We have tutorials on how to make these with our APIs or web app.
You can turn your Excel, MATLAB, ggplot2, matplotlib, and Igor Pro plots into Plotly graphs and get an interactive, shareable Plotly graph. Plotly also supports LaTeX and lets you stream data to your browser with connected devices. Check out our workshop for more.
For collaboration between languages (see our APIs for more), call, import, and edit the data and code from any language for any plot.
- https://plot.ly/~cimar/38.py (Python)
- https://plot.ly/~cimar/38.r (R, statistical programming)
- https://plot.ly/~cimar/38.m (MATLAB, for engineers and scientists)
- https://plot.ly/~cimar/38.js (JavaScript)
- https://plot.ly/~cimar/38.jl (Julia, a new technical computing language)
- https://plot.ly/~cimar/38.json (a full description of the figure)
- https://plot.ly/~cimar/38.embed (for embedding)
- https://plot.ly/~cimar/38.png
- https://plot.ly/~cimar/38.svg
- https://plot.ly/~cimar/38.pdf
Plotly also lets you stream data into graphs using APIs, an Arduino or Raspberry Pi, or as shown here using an IPython Notebook.
You can also make 3D plots in our web app and from our APIs.
We love 3D plotting, and hope you do too.
To leave a comment for the author, please follow the link and comment on their blog: Plotly Blog.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.