1

We wish to use a d3 brush to select neighobrs in a scatter plot. For this, a circle is more natural than a rectangle. I imagine a sequence of actions:

1) set the circle's center with a mouse click

2) adjust the radius with mouse motion, the x & y components of the current mouse position perhaps even implying an ellipse

In all the examples my web search finds, the brushed region is a rectangle.

Any advice, or working examples?

Thanks!

  • Puaul
paul shannon
  • 355
  • 5
  • 15

0 Answers0