Skip to content

Instantly share code, notes, and snippets.

View jasondavies's full-sized avatar
💭
💡

Jason Davies jasondavies

💭
💡
View GitHub Profile
@jasondavies
jasondavies / d3.js ~ Treemap.htm
Created February 12, 2012 14:36 — forked from bmajz/d3.js ~ Treemap.htm
d3 Treemap with resizing problems
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>d3.js ~ Treemap</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>
<style type="text/css">
@import url("http://mbostock.github.com/d3/style.css?1.10.0");
@jasondavies
jasondavies / index.html
Created February 17, 2012 17:51 — forked from mbostock/index.html
offsetX / offsetY
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
border: solid 3px steelblue;
cursor: crosshair;
}
#parent {
@jasondavies
jasondavies / index.html
Created March 2, 2012 10:06 — forked from scameron/index.html
Multiple sparkline transition strangeness
<!DOCTYPE html>
<html>
<head>
<title>Animated Sparkline</title>
<script src="http://bost.ocks.org/mike/d3.v2.min.js"></script>
<style type="text/css">
path {
stroke: steelblue;
stroke-width: 1;
@jasondavies
jasondavies / index.html
Created May 8, 2012 08:16 — forked from mbostock/.block
OMG Particles! (D3)
<!DOCTYPE html>
<meta charset="utf-8">
<title>OMG Particles!</title>
<script src="http://mbostock.github.com/d3/d3.v2.min.js?2.9.1"></script>
<style>
body {
background: #222;
}
@jasondavies
jasondavies / README.md
Created July 9, 2012 13:00 — forked from mbostock/.block
Spinny Globe
@jasondavies
jasondavies / index.html
Created August 2, 2012 00:14 — forked from mbostock/index.html
Chrome Circle Precision Bug
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<script src="http://d3js.org/d3.v2.js?2.9.6"></script>
<script>
var canvas = d3.select("body").append("canvas")
.attr("width", 960)
.attr("height", 500);
@jasondavies
jasondavies / README.md
Created September 14, 2012 21:32
Interrupted Mollweide Hemispheres
@jasondavies
jasondavies / README.md
Created September 16, 2012 11:06 — forked from jasondavies/README.md
Azimuthal Equidistant Projection
@jasondavies
jasondavies / README.md
Created September 17, 2012 11:55
Projection Transitions (Atlantis)
@jasondavies
jasondavies / README.md
Created September 17, 2012 12:23
Oblique Hammer Projection