Skip to content

Instantly share code, notes, and snippets.

View davo's full-sized avatar
🦮
Golden

Davo Galavotti davo

🦮
Golden
View GitHub Profile
@davo
davo / Readme.md
Last active June 8, 2019 01:27 — forked from wiederkehr/Readme.md
Multiples Streamgraph

Example of a streamgraph that can be divided into multiple area charts.

@davo
davo / Readme.md
Created December 15, 2016 22:52 — forked from wiederkehr/Readme.md
Multiples Barchart

Example of a stacked bar chart that can be divided into multiples. All credits for this go to Mike Bostock.

@davo
davo / index.html
Created November 9, 2016 20:00 — forked from d3noob/.block
Sankey from csv with d3.js
<!DOCTYPE html>
<meta charset="utf-8">
<title>SANKEY Experiment</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
@davo
davo / .block
Last active October 25, 2016 15:59
Geodesic Random
license: mit
@davo
davo / .block
Last active October 24, 2016 22:03 — forked from mbostock/.block
Geodesic Rainbow
license: gpl-3.0
@davo
davo / index.html
Created October 18, 2016 05:26 — forked from syntagmatic/index.html
2D Color Interpolation
<!DOCTYPE html>
<meta charset='utf-8'>
<body>
<script src='http://d3js.org/d3.v3.min.js'></script>
<script>
var size = 12;
var step = 40;
var X = d3.scale.linear()
.domain([0, size])
@davo
davo / index.html
Last active October 15, 2016 16:53
d3 unconf
<!DOCTYPE html>
<meta charset="utf-8">
<title></title>
<style>
#generative svg {
width: 100%;
height: 100%; }
@davo
davo / .block
Last active June 29, 2016 03:48 — forked from mbostock/.block
D3 Custom Bundle
license: gpl-3.0
@davo
davo / index.html
Created June 24, 2016 17:49
Sheetrock D3 Linechart
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Sheetrock D3 Linechart</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.js'></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-sheetrock/1.0.1/dist/sheetrock.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
@davo
davo / index.html
Created June 24, 2016 17:48
Plantilla para Tabla usando Sheetrock.js + Handlebars.js
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Sheetsee Demo Tabla</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.js'></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-sheetrock/1.0.1/dist/sheetrock.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/3.0.2/handlebars.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/list.js/1.1.1/list.min.js"></script>