Skip to content

Instantly share code, notes, and snippets.

@nrabinowitz
nrabinowitz / index.html
Created September 7, 2012 16:22 — forked from stepheneb/index.html
D3 Example: zoom, pan, and axis rescale
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>One Graph</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script>
<script type="text/javascript" src="simple-graph.js"></script>
<style type="text/css">
body { font: 13px sans-serif; }
rect { fill: #fff; }
@nrabinowitz
nrabinowitz / .gitignore
Created April 22, 2012 23:10 — forked from karmi/.gitignore
Life Expectancy Slope Graph [WIP]
.DS_Store
@nrabinowitz
nrabinowitz / index.html
Created October 31, 2011 20:43 — forked from njvack/index.html
Beeswarm plot with gravity and collisions
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Beeswarm plot - collision detection</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js"></script>
</head>
<body>