Title Here
✓ Published0🌍 Public
A gray square follows the mouse cursor across an SVG canvas, demonstrating basic pointer tracking with D3.js. The visualization uses d3.select to create an SVG and attach a rectangle element, which responds to mousemove events by updating its x and y attributes based on the event coordinates. The square never changes size or color, and the behavior is contained entirely within the SVG viewport.
AI-generated descriptionA circle that follows the mouse.
MIT Licensed