Skip to content

Instantly share code, notes, and snippets.

@msund
Last active August 29, 2015 14:04
Show Gist options
  • Save msund/e9ac9ab908e2b583ac9e to your computer and use it in GitHub Desktop.
Save msund/e9ac9ab908e2b583ac9e to your computer and use it in GitHub Desktop.
Post for Rosie
How do people use Plotly? Google Chrome ships a Plotly <a href="https://chrome.google.com/webstore/detail/plotly/hfjjbcodmdgnpngccdnefheadifbmmei">Chrome App</a> for high schoolers and businesses. NASA scientists and engineers track satellites with Plotly. Journalists at the Washington Post and Wired explain current events with Plotly. How can you use Plotly? Read on to learn more about our free online product or see a <a href="https://plot.ly/product/enterprise/">product page</a> to learn about how to run Plotly on your own servers.
<br>
<br>
Let's jump in. A Plotly version of a <a href="https://www.facebook.com/notes/facebook-data-science/mothers-day-2014/10152235539518859">Facebook Data Science team</a> graph shows the age of children on the x axis and the distance between children and mothers on the y axis.
<br>
<br>
<iframe width="650" height="650" frameborder="0" seamless="seamless" scrolling="no" src="https://plot.ly/~cimar/38/.embed?width=650&height=650"></iframe>
<br>
<br>
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; that means you don't have to code to make graphs that are beautiful, interactive, and web-based (though you can if you want).
<br>
<br>
You can edit anything about the plot in our web app or <a href="https://plot.ly/fits/"> add a fit</a> to a graph to see trends and analyze our data.
<br>
<br>
<center><img src="https://31.media.tumblr.com/4805f568e5100cdf52b851b5a7899fed/tumblr_inline_n9n8usH8wF1suclhk.png"></center>
<br>
<br>
Collaboratively make graphs and analyze data with our easy to use web app or with <a href="https://plot.ly/api">APIs</a> 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.
<br>
<br>
<center><img src="https://31.media.tumblr.com/087942b59a6caa9480955119411799a8/tumblr_inline_n9nir9sb2g1suclhk.png"></center>
<br>
<br>
Your graphs are online. For example, our Facebook graph: <a href="https://plot.ly/~cimar/38/">https://plot.ly/~cimar/38/</a>. Cimar is the username. This was her 38th plot. Your plots are in your profile: <a href="https://plot.ly/~cimar/">plot.ly/~cimar</a>. The plot is also in <a href="https://plot.ly/feed">Plotly's feed of graphs</a>.
<br>
<br>
<center><img src="https://31.media.tumblr.com/67e6f4a9cb82d24d7f8f9c9d49fb8b80/tumblr_inline_n9nj8uC80M1suclhk.png"></center>
<br>
<br>
Here is how the publicly shared version looks (though not in this image, <a href="https://plot.ly/~cimar/38/">the live graph</a>--the same one shown above--is interactive). The URL hosts the data, generates code to make your plot in different languages (Python, R, MATLAB, Julia), and makes a plot.
<br>
<br>
<center><img src="https://31.media.tumblr.com/8443745873cddf5e64bd0071fe6dcf31/tumblr_inline_n9n8evQ4Uw1suclhk.png"></center>
<br>
<br>
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. Plus, public sharing is and always will be free. See <a href="https://plot.ly/product/plans/">our plans</a> to learn more.
<br>
<br>
<center><img src="https://31.media.tumblr.com/643fe7b20db7533d29effbb6e445d7b1/tumblr_inline_n9t2nkp3Mn1suclhk.png"></center>
<br>
<br>
Whether it's made with our web interface or our <a href="https://plot.ly/api">APIs</a>, Plotly lets you easily export, share, and edit the plot with the web app or in different programming languages:
<br>
<br>
<li type=disc> https://plot.ly/~cimar/38.py (Python)
<li type=disc> https://plot.ly/~cimar/38.r (R, statistical programming)
<li type=disc> https://plot.ly/~cimar/38.m (MATLAB, for engineers and scientists)
<li type=disc> https://plot.ly/~cimar/38.js (JavaScript)
<li type=disc> https://plot.ly/~cimar/38.jl (Julia, a new technical computing language)
<li type=disc> https://plot.ly/~cimar/38.json (a full description of the figure)
<li type=disc> https://plot.ly/~cimar/38.embed (for embedding)
<li type=disc> https://plot.ly/~cimar/38.png
<li type=disc> https://plot.ly/~cimar/38.svg
<li type=disc> https://plot.ly/~cimar/38.pdf
<br>
<br>
Grab the code for your language of choice--translated for every plot to multiple languages--and you're up and running if you or anyone on your team wants to edit plots with any languages.
<br>
<br>
<center><img src="https://31.media.tumblr.com/44628837c9af8a16edf523d0411c1c36/tumblr_inline_n9nj2jq0uf1suclhk.png"></center>
<br>
<br>
Plotly covers many chart types. We have <a href="https://plot.ly/learn">tutorials</a> on how to make these with our APIs or web app.
<br>
<br>
<center><img src="http://i.imgur.com/UXYs1B8.png?1"></a></center>
<br>
<br>
You can turn your Excel, <a href="https://plot.ly/MATLAB">MATLAB</a>, <a href="https://plot.ly/ggplot2">ggplot2</a>, <a href="https://plot.ly/matplotlib">matplotlib</a>, and <a href="https://github.com/plotly/Igor-Pro-Graph-Converter">Igor Pro</a> plots into Plotly graphs and get an interactive, shareable Plotly graph. Plotly also supports <a href="http://nbviewer.ipython.org/gist/msund/2ca48d4b1824ba58ae7e">LaTeX</a> and lets you stream data to your browser with connected devices. Check out <a href="https://plot.ly/workshop/">our workshop</a> for more.
<br>
<br>
<img src="https://31.media.tumblr.com/c07492f8ad03319eeeb40089c02ac273/tumblr_inline_nb9z4pfaTm1suclhk.png">
<br>
<br>
You can also embed plots in a website, Notebook, or blog using an iframe, like the Washington Post.
<br>
<br>
<a href="null"></a><img src="https://31.media.tumblr.com/e384221791ace4798e4aedb04f53f2f9/tumblr_inline_nauiq4xfci1suclhk.png">
<br>
<br>
Plotly also lets you stream data into graphs using APIs, an <a href="https://plot.ly/workshop/">Arduino or Raspberry Pi</a>, or as shown here using an <a href="https://plot.ly/python/streaming-double-pendulum-tutorial/">IPython Notebook</a>.
<br>
<br>
<iframe width="800" height="600" frameborder="0" seamless="seamless" scrolling="no" src="https://plot.ly/~streaming-demos/4/.embed?width=800&height=600"></iframe>
<br>
<br>
The plot below was <a href="http://nbviewer.ipython.org/github/etpinard/plotly-misc-nbs/blob/etienne/test-3d/test-3d-more.ipynb">made with Python</a>. You can also make 3D plots in our web app.
<br>
<br>
<iframe width="800" height="600" frameborder="0" seamless="seamless" scrolling="no" src="https://plot.ly/~etpinard/265/.embed?width=800&height=600"></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment