Skip to content

Instantly share code, notes, and snippets.

Philippe Rivière Fil

View GitHub Profile
@Fil
Fil / .block
Last active Apr 17, 2019
projection debugging
View .block
license: mit
@Fil
Fil / .block
Last active Mar 23, 2019
circle packing [UNLISTED]
View .block
license: mit
@Fil
Fil / .block
Created Mar 23, 2019
Round slider (d3v5)
View .block
license: mit
@Fil
Fil / .block
Created Feb 6, 2019
Import from observable (was: circle pack example)
View .block
license: mit
@Fil
Fil / regions2017.csv
Last active Jan 10, 2019
regions 2017
View regions2017.csv
nom id str deps
Auvergne-Rhône-Alpes 84 AUVERGNE-RHONE-ALPES 43 15 03 63 26 42 01 07 73 74 69 38
Bourgogne-Franche-Comté 27 BOURGOGNE-FRANCHE-COMTE 25 70 39 90 21 58 71 89
Bretagne 53 BRETAGNE 29 22 56 35
Centre-Val de Loire 24 CENTRE-VAL DE LOIRE 28 45 18 36 37 41
Corse 94 CORSE 2A 2B
Grand Est 44 GRAND EST 52 08 10 51 67 68 54 55 57 88
Guadeloupe 01 GUADELOUPE 971
Guyane 03 GUYANE 973
Hauts-de-France 32 HAUTS-DE-FRANCE 02 60 80 59 62
@Fil
Fil / .block
Last active Nov 21, 2018
d3-force-reuse crash [UNLISTED]
View .block
license: gpl-3.0
height: 600
@Fil
Fil / .block
Last active Oct 5, 2018
Reuleaux animated
View .block
license: mit
@Fil
Fil / .block
Last active Aug 30, 2018
geoVoronoi mesh()
View .block
license: mit
@Fil
Fil / fullscreen.js
Created Jul 30, 2018
fullscreen.js, no dependency
View fullscreen.js
var fullscreenEnabled = !document.location.hash.match(/^#nofullscreen/);
if (fullscreenEnabled) {
setTimeout(function() {
const button = document.createElement("button");
document.body.appendChild(button);
button.setAttribute("id", "fullscreen");
button.setAttribute("style", "cursor:pointer;");
button.innerHTML = "Fullscreen";
button.addEventListener("click", goFullscreen);
@Fil
Fil / .block
Last active Jul 18, 2018
Hierarchical Edge Bundling [UNLISTED]
View .block
license: gpl-3.0
height: 960
border: no
You can’t perform that action at this time.