I have a leaflet map that I have placed an SVG "on top of" using the leaflet overlay pane. I want to add a D3 brush to the overlay pane that will then update a separate chart. I've looked around for any examples of simultaneous D3.brush() and leaflet examples but can't seem to find any.
The closest thing I found was this https://github.com/mbostock/d3/issues/1321 and this https://www.mapbox.com/mapbox.js/example/v1.0.0/timeline-scaled-markers/ (this is brushing the chart not the map).
I was wondering if:
- Anyone knew of any examples, OR
- Anyone knew if this was possible/reasonably straightforward, OR
- If possible, anyone had any tips on the sort of issues I might encounter.