This variation of a threshold encoding demonstrates how to use clipping to change the color of a line based on a y-threshold.
forked from mbostock's block: Color via Clipping
forked from anonymous's block: Color via Clipping
https://d3js.org/d3.v3.min.js