skokenes / D3-Lasso-Plugin

A lasso selection tool for D3
BSD 3-Clause "New" or "Revised" License
79 stars 25 forks source link

Scatter Matrix with Lasso #8

Closed ghost closed 8 years ago

ghost commented 8 years ago

I love this plugin and I'm using it extensively now. It's working perfect when using it with a simple scatter plot.

I've not tried to get it working with the Scatterplot Matrix example that can be found here: http://bl.ocks.org/mbostock/4063663

I basically want to replace the brushing with the lasso, but I can't get it to work. Does anyone have any ideas?

whatwehaveunlearned commented 8 years ago

What problem are you having?

ghost commented 8 years ago

I can get it to draw the lasso, but no points are selected. Not sure if I'm doing it right.

skokenes commented 8 years ago

Can you post a gist with sample code?

On Friday, November 13, 2015, Baz notifications@github.com wrote:

I can get it to draw the lasso, but no points are selected. Not sure if I'm doing it right.

— Reply to this email directly or view it on GitHub https://github.com/skokenes/D3-Lasso-Plugin/issues/8#issuecomment-156576973 .

ghost commented 8 years ago

https://jsfiddle.net/nhgkhkwd/

Hope this helps. It does set all circles to "not_possible", but it doesn't select any of them, i.e. d.possible is always false.

skokenes commented 8 years ago

Hi, I've migrated the library to v4 with some better code under the hood. Can you please test out that version?

There has been little interest from the community in helping maintain the d3 v3 version of this plugin, so I may close this repo and focus sole on the new repo going forward

https://github.com/skokenes/d3-lasso