Skip to content

Instantly share code, notes, and snippets.

@nstrayer
nstrayer / .block
Last active November 23, 2016 15:02 — forked from nbremer/.block
Stretched Chord - The Final Result
height: 660
@nstrayer
nstrayer / .block
Last active November 7, 2016 21:10 — forked from StudioLE/.block
Hive Plot (Links)
license: gpl-3.0
@nstrayer
nstrayer / .block
Created September 19, 2016 21:11 — forked from tonyhschu/.block
Small Scroll-linked Animation Demo
scrolling: yes
license: MIT
@nstrayer
nstrayer / .block
Created September 7, 2016 19:29 — forked from nbremer/.block
Brushable Horizontal Bar Chart - V
height: 540
@nstrayer
nstrayer / bookmarklet.js
Last active September 9, 2016 20:23 — forked from gka/multi-crowbar.js
like svg-crowbar, but for multiple svg elements!
var multiCrowbar = (function() {
/*
* SVG Export
* converts html labels to svg text nodes
* will produce incorrect results when used with multi-line html texts
*
* Author: Gregor Aisch
* based on https://github.com/NYTimes/svg-crowbar/blob/gh-pages/svg-crowbar-2.js
*/
@nstrayer
nstrayer / index.html
Created June 12, 2016 17:39 — forked from emeeks/index.html
Ch. 11, Fig. 14 - D3.js in Action
<html>
<head>
<title>D3 in Action Chapter 11 - Example 8</title>
<meta charset="utf-8" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
</head>
<style>
body, html {
margin: 0;
}
@nstrayer
nstrayer / .block
Last active July 26, 2016 23:35 — forked from ejb/.block
Reusable D3 Histograms
license: mit
@nstrayer
nstrayer / .block
Created May 10, 2016 21:17 — forked from mbostock/.block
Cluster Dendrogram
license: gpl-3.0
@nstrayer
nstrayer / README.md
Created January 5, 2016 19:40 — forked from blacki/README.md
K-Means Algorithm

K-Means Unsupervised Learning Algorithm

@nstrayer
nstrayer / README.md
Created December 30, 2015 04:21 — forked from mbostock/.block
Percentage Change II

A variation of the percentage change example using clipping to apply different colors for positive change (green) and negative change (purple).