Skip to content

Instantly share code, notes, and snippets.

@syntagmatic
syntagmatic / README.md
Last active August 29, 2015 14:02 — forked from mbostock/.block
Reddit Treemap
@syntagmatic
syntagmatic / README.md
Last active August 29, 2015 14:02 — forked from mbostock/.block
Reddit Treemap 2
We couldn’t find that file to show.
@syntagmatic
syntagmatic / README.md
Last active August 29, 2015 14:05 — forked from mbostock/.block
VFINX 500 Treemap
@syntagmatic
syntagmatic / README.md
Last active August 29, 2015 14:15 — forked from mbostock/.block
Chord Arc Labels
@syntagmatic
syntagmatic / README.md
Last active August 29, 2015 14:15 — forked from mbostock/.block
Prim's V Color Brewer

Another variation of color-cycling a spanning tree generated by Prim’s algorithm. Here the periodicity of the color scale by tree depth is varied over time, alternating between emphasis of micro and macro structure. This idea was suggested in a Hacker News comment.

@syntagmatic
syntagmatic / README.md
Last active August 29, 2015 14:16 — forked from saraquigley/index.html
Issue Breakdown
@syntagmatic
syntagmatic / d3map.css
Last active August 29, 2015 14:16 — forked from emeeks/d3map.css
Hello d3.carto
path,circle,rect,polygon,ellipse,line {
vector-effect: non-scaling-stroke;
}
svg, canvas {
top: 0;
}
#d3MapZoomBox {
position: absolute;
z-index: 10;
height: 100px;
@syntagmatic
syntagmatic / README.md
Last active August 29, 2015 14:17 — forked from mbostock/.block
EcoEngine Scatterplot
We couldn’t find that file to show.
@syntagmatic
syntagmatic / README.md
Last active September 12, 2015 10:43 — forked from mbostock/.block
Infant Deaths
@syntagmatic
syntagmatic / coffee-script.js
Created March 17, 2012 07:45 — forked from RichMorin/coffee-script.js
Crazy Hive Plot
/**
* CoffeeScript Compiler v1.2.0
* http://coffeescript.org
*
* Copyright 2011, Jeremy Ashkenas
* Released under the MIT License
*/
(function(root){var CoffeeScript=function(){function require(a){return require[a]}require["./helpers"]=new function(){var a=this;(function(){var b,c;a.starts=function(a,b,c){return b===a.substr(c,b.length)},a.ends=function(a,b,c){var d;d=b.length;return b===a.substr(a.length-d-(c||0),d)},a.compact=function(a){var b,c,d,e;e=[];for(c=0,d=a.length;c<d;c++)b=a[c],b&&e.push(b);return e},a.count=function(a,b){var c,d;c=d=0;if(!b.length)return 1/0;while(d=1+a.indexOf(b,d))c++;return c},a.merge=function(a,c){return b(b({},a),c)},b=a.extend=function(a,b){var c,d;for(c in b)d=b[c],a[c]=d;return a},a.flatten=c=function(a){var b,d,e,f;d=[];for(e=0,f=a.length;e<f;e++)b=a[e],b instanceof Array?d=d.concat(c(b)):d.push(b);return d},a.del=function(a,b){var c;c=a[b],delete a[b];return c},a.last=function(a,b){return a[a.length-(b||0)-1]}}).call(this)},require["./rewriter"]=new function(){var