uwgraphics / d3-twodim

A D3.v3.js module for creating 2D representations of data
http://uwgraphics.github.io/d3-twodim/
BSD 3-Clause "New" or "Revised" License
14 stars 10 forks source link

Re-order points in scatterplot on highlight/select #5

Closed yelper closed 8 years ago

yelper commented 8 years ago

Points in a scatterplot should be drawn on top of other points when they are selected or highlighted. Currently, selected points that are drawn behind other points are occluded by semi-transparent points drawn first.

The preferred method would be to perform d3.sort() on the point group, based on a given filtering function.