Skip to content

Instantly share code, notes, and snippets.

View bclinkinbeard's full-sized avatar

Ben Clinkinbeard bclinkinbeard

View GitHub Profile
@bclinkinbeard
bclinkinbeard / .block
Last active January 26, 2017 03:21 — forked from dbetebenner/.block
D3 Block-a-Day: Day 16, January 16th, 2017
license:gpl-3.0
height:600
border:no
Raw
@bclinkinbeard
bclinkinbeard / .block
Last active January 24, 2017 02:42 — forked from dbetebenner/.block
D3 Block-a-Day: Day 18, January 18th, 2017
license:gpl-3.0
height:600
border:no
Raw
@bclinkinbeard
bclinkinbeard / LICENSE
Last active September 6, 2016 19:51
Personal Best High Jumps for Two High Jumpers
Copyright (c) 2012–2013 Daniel Foreman-Mackey
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
@bclinkinbeard
bclinkinbeard / d3.sankey.js
Last active March 24, 2016 15:20 — forked from dbetebenner/d3.sankey.js
Sankey Particles III
d3.sankey = function() {
var sankey = {},
nodeWidth = 24,
nodePadding = 8,
size = [1, 1],
nodes = [],
links = [];
sankey.nodeWidth = function(_) {
if (!arguments.length) return nodeWidth;
@bclinkinbeard
bclinkinbeard / d3.sankey.js
Last active January 6, 2016 19:28 — forked from emeeks/d3.sankey.js
Sankey Particles III
d3.sankey = function() {
var sankey = {},
nodeWidth = 24,
nodePadding = 8,
size = [1, 1],
nodes = [],
links = [];
sankey.nodeWidth = function(_) {
if (!arguments.length) return nodeWidth;
@bclinkinbeard
bclinkinbeard / README.md
Last active December 2, 2015 18:30
Tree of Life

A re-implementation of Jason Davies’ Phylogenetic Tree of Life, with faded gray lines to connect the leaf nodes of the tree to their corresponding labels inspired by a figure from Nature.

This implementation modifies the depth of interior nodes in a cluster layout to show branch lengths. Toggle the checkbox in the top-left corner to show or hide branch lengths, and mouseover a label to highlight its path to the root.

//
// BVTouchable.js
// ExplorableExplanations
//
// Created by Bret Victor on 3/10/11.
// (c) 2011 Bret Victor. MIT open-source license.
//
(function () {
@bclinkinbeard
bclinkinbeard / README.md
Last active August 29, 2015 14:23 — forked from mbostock/.block
@bclinkinbeard
bclinkinbeard / README.md
Last active August 29, 2015 14:23 — forked from mbostock/.block
@bclinkinbeard
bclinkinbeard / README.md
Last active August 29, 2015 14:22 — forked from mbostock/.block