Skip to content

Instantly share code, notes, and snippets.

mwhitaker / force.csv
Last active Aug 29, 2015
Force-directed graph of website visitors with sessions from multiple US States
View force.csv
source target value
North Carolina Tennessee 136
Virginia District of Columbia 132
North Carolina Georgia 130
District of Columbia Virginia 124
Georgia North Carolina 123
Oklahoma Louisiana 116
Wisconsin Illinois 111
Louisiana Oklahoma 103
Tennessee North Carolina 103
mwhitaker / bella.png
Last active Aug 29, 2015
Visualize users with multiple sessions from multiple cities in the US from Google Analytics
View pelias_test.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View cr_new_template_snippet_compact_one_per_line.html
<!--this snippet displays cart items -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnCaptionBlock"><tbody class="mcnCaptionBlockOuter"><tr><td class="mcnCaptionBlockInner" valign="top" style="padding:9px;"><table border="0" cellpadding="0" cellspacing="0" class="mcnCaptionRightContentOuter" width="100%"><tbody><tr><td valign="top" class="mcnCaptionRightContentInner" style="padding:0 9px ;"><table align="left" border="0" cellpadding="0" cellspacing="0" class="mcnCaptionRightImageContentContainer"><tbody><tr><td class="mcnCaptionRightImageContent" valign="top"><img alt="" src="%RAW_IMG_URL%" width="200" style="max-width:1000px;" class="mcnImage"></td></tr></tbody></table><table class="mcnCaptionRightTextContentContainer" align="right" border="0" cellpadding="0" cellspacing="0" width="264"><tbody><tr><td valign="top" class="mcnTextContent"><a href="%PROD_URL%" style="color: #1155CC;font-family: arial, sans-serif;font-size: 14px;line-height: 21px;" target="_blank">%YNAME%</a></td></tr
mwhitaker /
Last active Feb 3, 2016
Multi-channel sunbursts

D3 Sunburst visualization that uses the Embed API to pull data from the Google Analytics Multi-Channel Funnel API. This app runs purely in the browser and no data is sent to any server. A bit more info is on my blog.

Any suggestions for improvement would be welome!

View Viggy.Rmd
title: "Vignette Title"
author: "Vignette Author"
date: "`r Sys.Date()`"
self_contained: FALSE
vignette: >
%\VignetteIndexEntry{Vignette Title}
figure() %>% ly_points(1:10)
View temp.html
<!DOCTYPE html>
<script src=""></script>
<link href="" rel="stylesheet">
<div id="a73ee825087c4d734028b06bb47bc3e4" class="plotdiv"></div>
<script type="text/javascript">
Bokeh.$(function() {
View .block
license: none
scrolling: no
border: yes
mwhitaker / knit_cloudstorage.rmd
Created Jan 13, 2017
Use googleCloudStorageR to automatically upload to Cloud Storage
View knit_cloudstorage.rmd
title: "Host image files on Google Cloud storage"
author: "Michael Whitaker"
date: "January 12, 2017"
self_contained: false
```{r setup, include=FALSE}