Skip to content

Instantly share code, notes, and snippets.

View danse's full-sized avatar

Francesco Occhipinti danse

  • Internet
View GitHub Profile
@danse
danse / README.md
Created February 22, 2014 14:11 — forked from mbostock/.block

This variation of a simple bar chart adds sorting with staggered delay and translucency to improve readability during the transition. This technique is recommended by Heer & Robertson. Use the checkbox in the top right to turn sorting on or off.

@danse
danse / gist:9602122
Created March 17, 2014 16:02
from web SVG to standalone file
from http://stackoverflow.com/a/4228053/393758
// Add some critical information
$("svg").attr({ version: '1.1' , xmlns:"http://www.w3.org/2000/svg"});
@danse
danse / README.md
Created March 17, 2014 20:30 — forked from dwtkns/README.md

Building on this - experimenting with fake 3d svg arcs using two nested orthographic projections and cardinal line interpolation.

@danse
danse / snippet.js
Created March 17, 2014 20:29 — forked from dwtkns/snippet.js
var s=document.createElement('script'); s.type='text/javascript'; s.src='http://d3js.org/d3.v3.min.js'; document.head.appendChild(s);
@danse
danse / gist:28364790e23b41e2921c
Created May 5, 2014 13:53
about shapes of countries
http://techslides.com/demos/d3/dragdrop-geo-game.html
http://bl.ocks.org/mbostock/4183330
@danse
danse / gist:684ae8a93527dd156a95
Created May 5, 2014 10:04
fizz buzz enterprise edition with javascript
for (var i=1; i<=100; i++) { !(i%3)||console.log("Fizz"); !(i%5)||console.log("Buzz"); !(i%15)||console.log("FizzBuzz"); i%3&&i%5&&console.log(i); }
<html>
<head>
<script src="app/bower_components/pouchdb/dist/pouchdb-nightly.js">
</script>
<script>
var reports;
function pad(data) { reports = data; }
</script>
<script src="reports.js"></script>
<script>
@danse
danse / verify.md
Last active August 29, 2015 14:01
Verification tools, standardisation efforts and proposals
<!DOCTYPE html>
<meta charset="utf-8">
Hello, world!