Skip to content

Instantly share code, notes, and snippets.

View msund's full-sized avatar
🦾

Matthew Sundquist msund

🦾
View GitHub Profile
@msund
msund / Post
Last active August 29, 2015 14:00
Revolution Post
Ggplotly: Make ggplot2 graphs into shareable D3 graphs
========================================================
[Ggplotly](https://github.com/ropensci/plotly) and [Plotly's R API](https://plot.ly/api/r) let you make ggplots, add `py$ggplotly()`, and get an interactive, shareable, online plot. Your plots are even drawn with D3. Let's make one, and then jump into why these technologies are special.
You can copy and paste these examples straight into your R environment and make the first graph in about 26 seconds (let me know if you find otherwise).
```{r echo=FALSE}
options(bitmapType="cairo")
@msund
msund / Test
Created May 1, 2014 02:53
Test
{
"metadata": {
"name": "Science NBs"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / MPL
Last active June 14, 2022 03:20
Final version
{
"metadata": {
"name": "Three new matplotlib plots"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "",
"signature": "sha256:5b129fc2319c69f224d9a91e318062ccae241c3a6f5cf531d75bf9b20169dca1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "Untitled0"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / Plots!
Last active October 10, 2019 23:10
Data Science Demo
{
"metadata": {
"name": "Reproducible figures"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "Reproducible figures"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / Blog
Created May 13, 2014 09:30
Post
<a href = "https://plot.ly/">Plotly</a> is an online graphing and analytics platform. It's a place where you can analyze data, make and share beautiful graphs, and discover content you love. It's also a community. In this post, we'll be highlighting a few of our favorite user graphs, and showing some of the key features available in Plotly. We'd love to hear your thoughts, suggestions and feedback. We're at <a href = "http://twitter.com/plotlygraphs">@plotlygraphs</a>.
<br>
<br>
First up we'll show a histogram from <a href = "http://www.alexharrisonparker.com/">Alex Parker</a>. The graph shows the number of Google results for the word "space" with different numbers of a's. 55 and 96 are popular, with Google showing 2,970 results for space spelled with 96 a's. If you hover your mouse over a point or click and drag to zoom in, you can learn more.
<br>
<br>
<div class = "iframe_container">
<iframe src="https://plot.ly/~alexhp/61/650/550" width="650" height=550" frameBorder="0" seamless="seamless" scrolling="no"
@msund
msund / python
Last active August 29, 2015 14:01
Test Post
{
"metadata": {
"name": "Reproducible figures"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"language": "Julia",
"name": "Julia Benchmark Plotly Barchart"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [