Skip to content

Instantly share code, notes, and snippets.

View jzollerneon's full-sized avatar

Joe Zoller jzollerneon

View GitHub Profile
@jzollerneon
jzollerneon / d3.sankey.js
Last active October 24, 2016 21:18
NEON IS data flow visualization
d3.sankey = function() {
var sankey = {},
nodeWidth = 24,
nodePadding = 8,
size = [1, 1],
nodes = [],
links = [];
sankey.nodeWidth = function(_) {
if (!arguments.length) return nodeWidth;
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's look at one path through the [NEON Data API](http://data.neonscience.org/data-api).\n",
"\n",
"Today, I'm interested in getting data about [relative humidity](http://data.neonscience.org/data-product-view?dpCode=DP1.00098.001) at the [Abby Road](http://www.neonscience.org/science-design/field-sites/abby-road) site.\n",
"\n",
@jzollerneon
jzollerneon / .block
Last active October 12, 2017 19:44
Small mammal capture heatmap
license: mit