Skip to content

Instantly share code, notes, and snippets.

View bclinkinbeard's full-sized avatar

Ben Clinkinbeard bclinkinbeard

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
body {
margin: 0;
}
@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 / public.txt
Created January 25, 2016 15:05
Another Public Gist
I like beer and football. Definitely not ponies.
@bclinkinbeard
bclinkinbeard / README.md
Created January 25, 2016 15:04
Public Gist Number One

This is a public Gist. Ain't it grand?

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div id="root"></div>
<script src="bundle.js"></script>
@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.

{
"name": "literasee-editor",
"version": "1.0.0",
"description": "",
"scripts": {
"clean": "rimraf public",
"build:webpack": "webpack --config webpack.config.prod.js",
"build": "npm run clean && npm run build:webpack",
"postinstall": "npm run build",
"start": "nodemon server.js"
@bclinkinbeard
bclinkinbeard / 2168745_1.json
Last active December 3, 2015 17:30
Student Growth Plot Slide
{
"1" : {
"Grade" : "3",
"Scale_Score" : 415,
"Plotting_Scale_Score" : null,
"Achievement_Level" : "Partially Proficient",
"SGP" : null,
"SGP_Level" : null,
"Content_Area" : "MATHEMATICS",
"Year" : "2008_2009",