Skip to content

Instantly share code, notes, and snippets.

View flintobrien's full-sized avatar

Flint O'Brien flintobrien

View GitHub Profile
@flintobrien
flintobrien / README.md
Last active August 29, 2015 13:57
d3-traits Pan & Zoom via Brush

This example demonstrates how to use d3.trait.control.brush trait. Click and drag on the bottom chart to pan & zoom the top chart. The data is from the original D3.js example, Focus+Context via Brushing

Note that the botom and top charts can be different chart types. The only requirement is that the source and target axes have similar data.

@flintobrien
flintobrien / README.md
Last active August 29, 2015 13:57
d3-traits Simple Line Chart

Simple d3-traits line chart

@flintobrien
flintobrien / README.md
Last active August 29, 2015 13:57
d3-traits Area Chart

This simple area chart with d3-traits uses the same data as the origin d3.js area chart example. The chart employs the following d3-traits features.

  • TBD