d3 curtain selector (DIV based)

Go to Source

See the Code
See it Full Page
See Details

This is a prototype which aims to let a user select a range of a graph.
It uses a "curtain" to select to and from.
D3 renders the graph and the d3 scaling functions is used to map from values to pixels and the invert method is used to get from pixel values to "real" data values.

This Pen uses: HTML, CSS, Babel, and Babel