Skip to content

Instantly share code, notes, and snippets.

View russellsamora's full-sized avatar

Russell Samora russellsamora

View GitHub Profile
year value
1976 6.5
1977 6.3
1978 7.4
1979 9.8
1980 12.4
1981 10.4
1982 7.4
1983 4.0
1984 5.0
@russellsamora
russellsamora / .block
Last active November 29, 2018 13:35
Variable Thickness Band
license: mit
height: 500
border: no
@russellsamora
russellsamora / .block
Last active October 2, 2018 12:41
wiki-breakout
license: mit
height: 500
border: no
@russellsamora
russellsamora / .block
Last active November 27, 2018 18:38
snake chart
license: mit
height: 500
border: no
@russellsamora
russellsamora / .block
Created June 15, 2018 17:32
Responsive d3 graphic
license: mit
height: 500
border: no
// D3 is included by globally by default
import debounce from 'lodash.debounce';
import isMobile from './utils/is-mobile';
import loadImage from './utils/load-image';
import loadData from './load-data';
let playData = null;
let currentIndex = 0;
let playWidth = 0;
const imageCache = {};
#player
background-color $fg
color $bg
#content
position relative
width 100%
height 100vh
overflow hidden
&:after
<!doctype html>
<html lang='en' data-version='{{timestamp}}'>
<head>
{{> base/meta}}
<!-- smoosh -->
<link rel='stylesheet' href='bundle.css' />
<!-- endsmoosh -->
@russellsamora
russellsamora / .block
Last active August 8, 2017 19:34
hex grid inside us boundary
license: mit
width 960
height: 558
border: no
@russellsamora
russellsamora / .gistup
Created August 8, 2017 17:57
Hex grid within US outline
gistup