This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function(require) { | |
var d3 = require('./d3v4+jetpack'); | |
return function swoopy(svg, x0, y0, x1, y1, flipped, r) { | |
var dx = x1 - x0, dy = y1 - y0; | |
if (r === undefined) r = Math.sqrt(dx*dx + dy*dy) * 0.75; | |
var g_arr = svg.append('g.arrow'); | |
var svg_root = d3.select(svg.node().ownerSVGElement || svg.node()), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
blue=$(tput setaf 4) | |
green=$(tput setaf 2) | |
normal=$(tput sgr0) | |
while ./update.sh | |
do | |
printf "\n${blue}>>> sleeping a little bit before running again... ${normal}\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d3.forceExtent = function(extent) { | |
var nodes; | |
if (extent == null) extent=[[0,800], [0,500]]; | |
function force() { | |
var i, | |
n = nodes.length, | |
node, | |
r = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"file": "results", | |
"data": { | |
"AL": { | |
"fill": "#cc3d3d", | |
"stroke": false | |
}, | |
"AK": { | |
"fill": "#cc3d3d", | |
"stroke": false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (global, factory) { | |
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | |
typeof define === 'function' && define.amd ? define(['exports'], factory) : | |
(factory((global.d3 = global.d3 || {}))); | |
}(this, function (exports) { 'use strict'; | |
function ascending(a, b) { | |
return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROJCS["satellite", | |
GEOGCS["satellite"], | |
PROJECTION["satellite"], | |
EXTENSION["PROJ4","+proj=tpers +azi=19 +tilt=30 +lon_0=-109.5 +lat_0=23 +h=1274199.4 + ellps=WGS84 +datum=WGS84 +units=m"]] |