Pointer events
✓ Published0🌍 Public
RRobinL
Last edited Mar 21, 2013
Created on Mar 21, 2013
Two circles demonstrate the difference between standard and non-interactive SVG elements. The inner grey circle responds to mouseover and mouseout events by changing fill color between grey and red. The outer yellow circle, drawn with 50% opacity, never receives pointer events because its `pointer-events` style is set to "none." Built with D3.js selections and event handlers, the example shows how SVG pointer-events control which elements capture mouse interactions.
AI-generated description