Skip to content

Instantly share code, notes, and snippets.

View jeremybuis's full-sized avatar

Jeremy Buis jeremybuis

View GitHub Profile
jeremybuis /
Created January 27, 2016 15:31
Angular Sandbox Escape Cheatsheet
### Keybase proof
I hereby claim:
* I am jeremybuis on github.
* I am jeremybuis ( on keybase.
* I have a public key whose fingerprint is 21C8 761C 3FCE 1C4F CBC9 70A9 D15D B207 8DFE 16B1
To claim this, I am signing this object:
jeremybuis / zero-init-array.js
Created April 16, 2014 15:04
A snippet of js that generates a 0 filled array
Array.apply(null, new Array(5)).map(Number.prototype.valueOf, 0);
jeremybuis / extend.js
Created April 10, 2014 15:25
An implementation of the extend function for object mixin
// Taken from
(function(window) {
var __slice = [].slice;
function extend () {
var consumer = arguments[0],
providers =, 1),
jeremybuis /
Created November 20, 2013 20:26 — forked from mbostock/.block
jeremybuis /
Last active December 21, 2015 14:59
something something

D3 Streamgraph Example

Series Hover

The series hover interactivity uses the technique from lgrammel seen here:

Data Tooltip

It isn't necessarily a tooltip, but data is displayed by inverting the x-axis value into a date, and mapping the date to the corresponding data value for the series.

jeremybuis /
Last active December 17, 2015 17:09 — forked from dwtkns/

Building on this - experimenting with fake 3d svg arcs using two nested orthographic projections and cardinal line interpolation.

<!doctype html>
body {
font: 10px sans-serif;
#main {
left: 25%;
position: absolute;
jeremybuis /
Last active December 16, 2015 08:39
An updated spinny map to work with the new api's

A new spinny map for the masses