Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Strayer nstrayer

View GitHub Profile
@nstrayer
nstrayer / .block
Last active Nov 23, 2016 — forked from nbremer/.block
Stretched Chord - The Final Result
View .block
height: 660
@nstrayer
nstrayer / .block
Last active Nov 7, 2016 — forked from StudioLE/.block
Hive Plot (Links)
View .block
license: gpl-3.0
@nstrayer
nstrayer / .block
Created Sep 19, 2016 — forked from tonyhschu/.block
Small Scroll-linked Animation Demo
View .block
scrolling: yes
license: MIT
@nstrayer
nstrayer / .block
Created Sep 7, 2016 — forked from nbremer/.block
Brushable Horizontal Bar Chart - V
View .block
height: 540
@nstrayer
nstrayer / bookmarklet.js
Last active Sep 9, 2016 — forked from gka/multi-crowbar.js
like svg-crowbar, but for multiple svg elements!
View bookmarklet.js
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 Jun 12, 2016 — forked from emeeks/index.html
Ch. 11, Fig. 14 - D3.js in Action
View index.html
<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 Jul 26, 2016 — forked from ejb/.block
Reusable D3 Histograms
View .block
license: mit
@nstrayer
nstrayer / .block
Created May 10, 2016 — forked from mbostock/.block
Cluster Dendrogram
View .block
license: gpl-3.0
@nstrayer
nstrayer / README.md
Created Jan 5, 2016 — forked from blacki/README.md
K-Means Algorithm
View README.md

K-Means Unsupervised Learning Algorithm

@nstrayer
nstrayer / README.md
Created Dec 30, 2015 — forked from mbostock/.block
Percentage Change II
View README.md

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