Skip to content

Instantly share code, notes, and snippets.

View bclinkinbeard's full-sized avatar

Ben Clinkinbeard bclinkinbeard

View GitHub Profile
@bclinkinbeard
bclinkinbeard / README.md
Last active August 29, 2015 14:20 — forked from mbostock/.block

A dendrogram is a node-link diagram that places leaf nodes of the tree at the same depth. In this example, the classes (leaf nodes) are aligned on the right edge, with the packages (internal nodes) to the left. Data shows the Flare class hierarchy, courtesy Jeff Heer.

Compare to this radial layout. YO DAWG

@bclinkinbeard
bclinkinbeard / README.md
Last active August 29, 2015 14:22 — forked from mbostock/.block

From Wikipedia:

Epicyclic gearing or planetary gearing is a gear system consisting of one or more outer gears, or planet gears, revolving about a central, or sun gear. … Epicyclic gearing systems also incorporate the use of an outer ring gear or annulus, which meshes with the planet gears.

Use the menu in the top-left to change the frame of reference, fixing the specified gear in-place.

@bclinkinbeard
bclinkinbeard / chart.js
Last active August 29, 2015 14:22 — forked from mbostock/.block
var margin = {top: 20, right: 20, bottom: 30, left: 40},
width = 960 - margin.left - margin.right,
height = 500 - margin.top - margin.bottom,
d3 = window.d3
var x = d3.scale.ordinal()
.rangeRoundBands([0, width], 0.1)
var y = d3.scale.linear()
.range([height, 0])
@bclinkinbeard
bclinkinbeard / README.md
Last active August 29, 2015 14:22 — forked from mbostock/.block
@bclinkinbeard
bclinkinbeard / README.md
Last active August 29, 2015 14:22 — 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:23 — forked from mbostock/.block
//
// BVTouchable.js
// ExplorableExplanations
//
// Created by Bret Victor on 3/10/11.
// (c) 2011 Bret Victor. MIT open-source license.
//
(function () {
<foo>
<boo />
</foo>