Skip to content

Instantly share code, notes, and snippets.

View christophe-g's full-sized avatar

christophe geiser christophe-g

  • preignition.org
  • Lyon, France
View GitHub Profile
! function() {
function t(t) {
return function(e, i) {
e = d3.hsl(e), i = d3.hsl(i);
var r = (e.h + 120) * a,
h = (i.h + 120) * a - r,
s = e.s,
l = i.s - s,
o = e.l,
u = i.l - o;
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define('d3-venn', ['exports'], factory) :
factory((global.d3_venn = {}));
}(this, function (exports) { 'use strict';
/**
* getSet creates a getter/setter function for a re-usable D3.js component.
*
* @method getSet
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define('d3-venn', ['exports'], factory) :
factory((global.d3_venn = {}));
}(this, function (exports) { 'use strict';
/**
* getSet creates a getter/setter function for a re-usable D3.js component.
*
* @method getSet
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define('d3-venn', ['exports'], factory) :
factory((global.d3_venn = {}));
}(this, function (exports) { 'use strict';
/**
* getSet creates a getter/setter function for a re-usable D3.js component.
*
* @method getSet
@christophe-g
christophe-g / d3-venn.js
Last active July 18, 2016 07:55
Simple Venn Layout
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define('d3-venn', ['exports'], factory) :
factory((global.d3_venn = {}));
}(this, function (exports) { 'use strict';
/**
* getSet creates a getter/setter function for a re-usable D3.js component.
*
* @method getSet
@christophe-g
christophe-g / d3-venn.js
Last active July 18, 2016 08:01
Interactive Venn Layout
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define('d3-venn', ['exports'], factory) :
factory((global.d3_venn = {}));
}(this, function (exports) { 'use strict';
/**
* getSet creates a getter/setter function for a re-usable D3.js component.
*
* @method getSet
gistup
@christophe-g
christophe-g / interactive.js
Last active December 1, 2015 17:32
venn layout example for d3.js
(function test() {
var width = 600,
height = 600,
colors = d3.scale.category10();
var setChar = 'ABCDEFGHIJKLMN',
charFn = i => setChar[i],
setLength = 4,
sets = d3.range(setLength).map(function(d, i) {
@christophe-g
christophe-g / index.html
Created May 25, 2012 00:22
Test html for Rating Field
<!DOCTYPE html>
<html>
<head>
<title>Rating Field</title>
<link rel="stylesheet" type="text/css" href="http://dev.sencha.com/deploy/ext-4.1.0-gpl/resources/css/ext-all.css"/>
<!--link rel="stylesheet" type="text/css" href="https://raw.github.com/krikrou/Ext.ux.widget.Rating/master/src/Ext.ux.widget.Rating.css"/-->
<style type="text/css">
.x-form-rating .ux-rating-star, .x-form-rating .ux-rating-reset {
float: left;
width: 17px;