Skip to content

Instantly share code, notes, and snippets.

View Rnhatch's full-sized avatar

Rob Hatch Rnhatch

View GitHub Profile
@Rnhatch
Rnhatch / README.md
Created January 24, 2012 18:54 — forked from mbostock/.block
Focus + Context (via Brushing)

This examples demonstrates how to use D3's brush component to implement focus + context zooming. Click and drag in the small chart below to pan or zoom.
See Results at http://bl.ocks.org/1671866

@Rnhatch
Rnhatch / bar.js
Created January 2, 2012 20:31 — forked from enjalot/bar.js
Basic CSV Parsing
//Simple d3.js barchart example to illustrate d3 selections
//other good related tutorials
//http://www.recursion.org/d3-for-mere-mortals/
//http://mbostock.github.com/d3/tutorial/bar-1.html
var w = 850
var h = 400
var bars = function(data)