Skip to content

Instantly share code, notes, and snippets.

View nstrayer's full-sized avatar

Nick Strayer nstrayer

View GitHub Profile
@nstrayer
nstrayer / .block
Last active January 3, 2023 15:57
Reusable dotplots.
license: mit
@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 / 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 / .block
Created September 7, 2016 19:29 — forked from nbremer/.block
Brushable Horizontal Bar Chart - V
height: 540
@nstrayer
nstrayer / .block
Last active September 16, 2016 03:41
Demonstration of a sliding histogram.
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
Last active July 3, 2023 16:22
Kaplin-Meier Survival Curve with Left-Truncated Data.
license: gpl-3.0
@nstrayer
nstrayer / .block
Last active November 7, 2016 21:10 — forked from StudioLE/.block
Hive Plot (Links)
license: gpl-3.0
@nstrayer
nstrayer / README.md
Last active November 9, 2016 04:38
Playing with a new intro to my website

An animated random walk using a uniform distribution to decide the angle of departure.

@nstrayer
nstrayer / .block
Last active November 23, 2016 15:02 — forked from nbremer/.block
Stretched Chord - The Final Result
height: 660