Skip to content

Instantly share code, notes, and snippets.

View ljbrown238's full-sized avatar

Loren J. Brown ljbrown238

  • Quantum Peg, Inc.
  • United States
View GitHub Profile
@ljbrown238
ljbrown238 / _.md
Created April 6, 2013 06:19
Experiment
@ljbrown238
ljbrown238 / _.md
Created April 25, 2013 00:31
Template (Tributary)

This example pulls together various examples of work with trees in D3.js.

The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.

One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.

Dragging can be performed on any node other than root (flare). Dropping can be done on any node.

Panning can either be done by dragging an empty part of the SVG around or dragging a node towards an edge.

@ljbrown238
ljbrown238 / _.md
Created January 22, 2014 03:54
My Tree Test
@ljbrown238
ljbrown238 / _.md
Created January 22, 2014 15:54
JSON Traverse Object
@ljbrown238
ljbrown238 / _.md
Created January 24, 2014 19:30
Data Like a Boss
@ljbrown238
ljbrown238 / _.md
Created January 24, 2014 21:54
Testing Controls
@ljbrown238
ljbrown238 / _.md
Created January 24, 2014 22:21
Nesting Data
@ljbrown238
ljbrown238 / _.md
Created January 25, 2014 03:54
Nesting With Rollup
@ljbrown238
ljbrown238 / _.md
Created January 26, 2014 01:25
JavaScript Maps