Skip to content

Instantly share code, notes, and snippets.

@Trimeego
Trimeego / index.html
Created April 20, 2013 14:06 — forked from d3noob/.block
<!DOCTYPE html>
<meta charset="utf-8">
<title>SANKEY Experiment</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
@Trimeego
Trimeego / README.md
Last active December 15, 2015 21:39 — forked from mbostock/.block

The tree layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

http://bl.ocks.org/Trimeego/raw/5327125/

@Trimeego
Trimeego / sample.spec.coffee
Created February 16, 2013 03:54
CS: Sample Mocha Test
define ["icg/sample"], (module) ->
"use strict"
describe "module", ->
it "is awesome", ->
expect(window.something).to.be "AWESOME"
@Trimeego
Trimeego / gist:4739817
Last active December 12, 2015 07:49
Maintenance Example
(function() {
define([], function() {
return function(){
container = ".present[data-markdown]";
var angle, arc, arcRange, color, colorScale, defs, easing, gap, height, partition, radians, radius, shapeHeight, shapeWidth, stash, svg, textPathF, transitionSpeed, tree, updateData, width;
tree = {
"name": "mn",
"label": "Maintenance",
@Trimeego
Trimeego / gist:4449158
Last active December 10, 2015 14:39
VP sunburst
(function() {
define([], function() {
return function(){
container = ".present[data-markdown]";
var angle, arc, arcRange, color, colorScale, defs, easing, gap, height, partition, radians, radius, shapeHeight, shapeWidth, stash, svg, textPathF, transitionSpeed, tree, updateData, width;
tree = {
"name": "vp",
"label": "Vendor Portal",
@Trimeego
Trimeego / gist:4448705
Last active December 10, 2015 14:38
Base presentation script
(function() {
define([], function() {
return function(){
container = ".present[data-markdown]";
//insert code here
};
});
}).call(this);
@Trimeego
Trimeego / README.md
Created April 9, 2012 15:29 — forked from mbostock/.block
Pie Chart Dashboard Sample

Click to change datasets. function