Skip to content

Instantly share code, notes, and snippets.

Daniel Gerber dgerber

Block or report user

Report or block dgerber

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dgerber /
Last active Dec 23, 2015 — forked from mbostock/.block
L*a*b* and L*u*v* color spaces

This is Mike Bostock's block 3014589 plus the CIE L*u*v* and XYZ color spaces from this plugin. Both L*a*b* and L*u*v* are intended as "uniform color spaces" -- matching perceptual color difference with euclidean distance. d3.hcl is L*a*b* in cylindrical (Hue-Chroma-Lightness) coordinates.

dgerber / Makefile
Last active May 2, 2017
Reusable Non-Contiguous Cartogram
View Makefile
swiss-cantons.topo.json: lib/swiss-maps/topojson/swiss-cantons.json
topojson --properties --id-property abbr \
-o $@ \
dgerber /
Created Jul 5, 2012
Financial Secrecy Index 2011

The Financial Secrecy Index 2011 is a tool for understanding global financial secrecy, corruption and illicit financial flows. By ranking secrecy jurisdictions according to both their secrecy, and the scale of their activities, it allows a politically neutral ranking of the biggest players.

Non-self-governing jurisdictions according to the FAO geopolitical ontology.

dgerber / index.html
Created Jun 21, 2012
PPP exchange rates converter
View index.html
<!DOCTYPE html>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="ppp.js"></script>
<h3>Convert Local Currencies at Purchasing Power Parity</h3>
<div id="textView">
In <span id="year"></span>, one gets the same amount of goods with:
dgerber / README.txt
Created Jun 4, 2012
Generic query editor
View README.txt
pip install --requirement=requirements.txt
Démarrage en local::
You can’t perform that action at this time.