Skip to content

Instantly share code, notes, and snippets.

View chabb's full-sized avatar
🏠
Working from home

Chabbey François chabb

🏠
Working from home
View GitHub Profile
@chabb
chabb / .block
Created December 11, 2016 01:37 — forked from nbremer/.block
Brushable Horizontal Bar Chart - V
height: 540
@chabb
chabb / .block
Created December 11, 2016 01:41 — forked from mbostock/.block
Raster Reprojection
license: gpl-3.0
@chabb
chabb / index.html
Created December 11, 2016 01:44 — forked from jasondavies/index.html
longscroll.js
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.longscroll {
overflow-y: auto;
width: 480px;
height: 500px;
float: left;
}
.longscroll .row {
@chabb
chabb / d3-marching-squares.js
Last active December 12, 2016 16:58 — forked from emeeks/d3map.css
Raster Reprojection d3.carto.map
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.rastertools = global.rastertools || {})));
}(this, function (exports) { 'use strict';
var isobands = function(data, geoTransform, intervals){
var bands = { "type": "FeatureCollection",
"features": []
};
@chabb
chabb / .block
Created January 19, 2018 16:28 — forked from ThomasThoren/.block
New York Times map reproduction
height: 800
@chabb
chabb / .block
Created January 19, 2018 16:52 — forked from ThomasThoren/.block
Texas map
height: 725
@chabb
chabb / Base.png
Created January 21, 2018 23:14 — forked from pbogden/Base.png
pan & zoom a png
Base.png
@chabb
chabb / Makefile
Created January 23, 2018 16:45 — forked from mjhoy/Makefile
Costa Rica shaded relief
all: hill-relief.jpg costarica_min_topo.json
# -------------
# Relief raster
# -------------
#
# Notice the `zip` file requirements here have no download.
# You will need to search for them online. They are from the
# SRTM project: http://www2.jpl.nasa.gov/srtm/
# (which appears to have multiple versions of files).
@chabb
chabb / d3 sparklines.markdown
Created February 10, 2019 01:26 — forked from davinov/d3 sparklines.markdown
d3 sparklines
@chabb
chabb / README.md
Created February 10, 2019 01:52 — forked from SpaceActuary/README.md
Grid Snapping