Closed enheit closed 4 years ago
d3-tip is a third-party module (i.e., not maintained by me). I don’t maintain any examples using d3-tip, so no.
As for a general strategy of having interactive elements inside a zoomable container, that works fine as long as you apply the zoom behavior to the elements’ container rather than using a transparent overlay. See these examples:
https://observablehq.com/@d3/zoom-with-tooltip https://observablehq.com/@d3/drag-zoom
Do you have any example of usage
d3-zoom
in conjunction withd3-tip
?In most examples of
d3-zoom
it suggests to use "transparent rect" over your chart which will be listening tozoom
events. But unfortunately, it ("transparent rect") blocks all events and all underlying elements are not accessible.Is there any approach to avoid this issue?